you have any working examples of using this? sorry if i overlooked something in the samples.
I am specifically trying to work with this TidyLib function:
/** Save to given TidyBuffer object */
TIDY_EXPORT int tidySaveBuffer( TidyDoc tdoc, TidyBuffer* buf );
and it seems that the signature (int*, int*) seems to work, and the dll actually objected to being passed a pointer to a Struct.
From docs: This constructor should be used when it is required to pass a character buffer of a certain size as an argument, in particular, when it has to be passed to an output or input/output parameter.