W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: HTTag_content()

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 17 Feb 1999 19:36:44 -0500
Message-Id: <3.0.5.32.19990217193644.00bf6c00@localhost>
To: Mathew Cucuzella <mat@mcg.mot.com>, libwww <www-lib@w3.org>
At 17:07 2/17/99 -0700, Mathew Cucuzella wrote:
>I'm using the HTML Parser and Generator, and I found the
>documentation for HTTag_content at the following page:
>
>  http://www.w3.org/Library/src/SGML.html
>
>When I used it I got an undefined symbol. I searched the source and
>could not find it either. Perhaps I has some kind of unrecognized
>build error, or maybe it is not defined.

I sometimes forget to implement the functions I declare. I think I intended
to hide the structure definitions of HTAttr and HTTag in SGML.c but seem to
stop halfway (maybe because it is needed by how it is initialized in
HTMLPDTD.c).

>Looking at the source, I used the following to get around the
>problem:
>
>  #define HTTag_content(t)  ((t)->contents)

I have made it a function as defines sometimes cause problems on wintel DLLs.

It's now in CVS, see

	http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/SGML.c

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Wednesday, 17 February 1999 19:36:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT