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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal