W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Trouble accessing Stream "methods"

From: Michael Zedeler <mike@netropolis.dk>
Date: 14 Oct 1998 12:31:30 -0000
Message-ID: <19981014123130.997.qmail@findmail.com>
To: www-lib@w3.org
Cc: mike@netropolis.dk
Hi fellow libwww'ers,

I have ventured deep into libwww-space -- so far without much trouble -- until now. I have been implementing my own pseudo-HTML-parser, using the SGML-module, and now I need help accessing the "methods" of a Stream:


	HTStream * hs;


	hs = SGML_new(&IHTML_dtd,HTTestStream());

[Now this doesn't work:]

	(hs->put_string)(hs,"Hello, world\n");

[So I tried looking in the library and found that maybe this would work:]

	(hs->isa->put_string)(hs,"Hello, world\n");

[But that doesn't work either.]


Could somebody please point me in the right direction here?

Thank you very much,


Free e-mail group hosting at http://www.eGroups.com/
Received on Wednesday, 14 October 1998 08:31:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:48 UTC