Re: [xml] initGenericErrorDefaultFunc weirdness.
- From: Alexey Sarytchev <asarytchev marketswitch com>
- To: Jose Commins <axora myrealbox com>
- Cc: xml gnome org
- Subject: Re: [xml] initGenericErrorDefaultFunc weirdness.
- Date: Wed, 02 Jun 2004 10:11:57 -0400
You can try
xmlGenericErrorFunc gef;
initGenericErrorDefaultFunc(&gef);
And after that you will prabablyu get an address of default error
function in your variable. I gess it is not what you wanted.
Regards,
Alexey.
Jose Commins wrote:
With your suggestion below, I get ' main.c:109: error: invalid
lvalue in unary `&' '
With this:
initGenericErrorDefaultFunc((xmlGenericErrorFunc)&MyXMLErrorFunction) I
still get: 'main.c:109: passing arg 1 of `initGenericErrorDefaultFunc'
from incompatible pointer type' error.
Argh!
Regards,
Jose.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]