[fpc-pascal] Libxml2 - How to get messages on Linux?
Henry Vermaak
henry.vermaak at gmail.com
Fri May 25 13:05:11 CEST 2018
On Fri, May 25, 2018 at 12:48:20PM +0200, Gabor Boros wrote:
> 2018. 05. 24. 9:37 keltezéssel, Michael Van Canneyt írta:
> >Are these functions callbacks ? If so, is the calling convention correct ?
>
> I used xmlSchemaSetValidErrors and the documentation say "Set the error and
> warning callback informations". Tried with and without cdecl.
These functions use varargs, so the calling convention is different:
https://www.freepascal.org/docs-html/ref/refsu87.html
I thought it only works with external code, though. Would be useful if
the documentation mentioned anything.
Henry
More information about the fpc-pascal
mailing list