Hi Charlie, The format is like any normal C function. int MyStaticCFunction(int someArg) {
//invoke myMethod and return the int the myMethod returns return [objcObject myMethod:someArg]; } You wrote: What is the syntax? For example, how do I invoke the method - (int) myMethod: (int) int; In object myObject from within a C (not Objective C) function and make use of the result? There are no Objective-C functions. Only C functions. There are Objective-C methods. In Objective C I would invoke [myObject myMethod: myInt]; Even better, how do I invoke - (myObject) myMethod: (myObject *) myObjectArg; an make use of the result in a C function? MyObject * MyStaticCFunction(MyObject *myObjectArg) { //assuming MyObject is an Objective C instance [myObjectArg myMethod:myObjectArg]; return myObjectArg; } Hope this helps, Kiel _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]