Can anyone help me with this Objective-C?

Miscellaneous Forums/MacOS X Discussion/Can anyone help me with this Objective-C?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You can't return structs to BitzMax as your declaration is expecting a pointer to a blitzmax type not an actual instance of a raw NSPoint.

You can't return a pointer to the NSPoint because it has been allocated on the stack.

I would pass an int pointer to the function and write the result there.