Allocating a new TidyBuffer?

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