If I do something inside my extension that could produce warnings or fatals, how I can catch them?
I suppose that some global variables control this, but don't know which one.
If I do something inside my extension that could produce warnings or fatals, how I can catch them?
I suppose that some global variables control this, but don't know which one.
C does not know exceptions, try/catch/finally are not avaliable.
You need to use other mechanics to detect errors and handle them.
Ok, ok - there is setjmp() and longjmp(), but ...