W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2003

Allocating a new TidyBuffer?

From: joe user <palehaole@yahoo.com>
Date: Thu, 2 Oct 2003 13:21:09 -0700 (PDT)
Message-ID: <20031002202109.84059.qmail@web20414.mail.yahoo.com>
To: html-tidy@w3.org

Hello Tidiers,

How do I get a new TidyBuffer?  If I use this
somewhere in my program:

#include <tidy/tidy.h>

TidyBuffer buf;

I get this error:

storage size of `buf' isn't known

If I do this:

TidyBuffer *buf = malloc(sizeof(TidyBuffer));

I get this error:

sizeof applied to an incomplete type

So... where do TidyBuffers come from?

Thanks.


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Received on Thursday, 2 October 2003 16:21:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC