A Short DO Problem
A Short DO Problem
- Subject: A Short DO Problem
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 14 Aug 2002 22:31:11 +0200
C function probably always return an int, even if the return value is
actually shorter.
Objectiv-C methods probably do the same.
But [ aLocalObject returnUnsignedShort0xbeef ] returns 0x0000beef.
Whereas [ aDistantObject returnUnsignedShort0xfffa20 ] returns
0xffffbeef.
Is it somewhere documented that DistandObjects cannot return things
which are not ints?
What about returning structs? What about returning char *?
I have read the documentation several times, but could not find anything.
Any pointers would be very welcome.
Gerriet.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.