Re: [xml] [PATCH] DSO/Module Support



Joel Reed wrote:

thanks for pointing this out. i was about to address this, but noticed

that NULL is a not valid address on win32, so in the interest of promoting
cross-platform compatability in a library that's known for its
cross-platform compatability, and given this would seem to be a corner
case not frequently used, it seems better to leave as-is.
I disagree. If you want cross-platform compatibility, then you should not
ignore potential errors that may occur in one platform.

You could let xmlModulePlatformSymbol return the pointer as an out
parameter, and use the return value to indicate success or failure.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]