Hi Pavel,

Pavel Janík a écrit :

Eric, sorry but maybe we are talking about something different here.

I just want to understand how it works.

The return value *IS* OSStatus, so we can't change it.

Ok, but we have to modify something, to avoid the warnings

For return values, we use errval in salframe.cxx...

Exact, I found one, yes, not for OSStatus type,  but OSErr

And searching a bit about rc, I found several OSStatus rc = ... in salframe.cxx , followed by if ( rc != noErr ) ..etc, and even a return rc in InstallWindowHandler()

I'm glad to see Damien started to document salframe functions. IMHO, we didn't document corectly this part.


Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to