Using assembly in objective-c
Using assembly in objective-c
- Subject: Using assembly in objective-c
- From: Twisted Theory Software <email@hidden>
- Date: Mon, 21 Jan 2008 12:58:57 -0600
I'm still trying, without luck, to use CoreMenuExtraAddMenuExtra()
from HIServices. I know it's still in there, because otool shows it:
in the appropriate directory,
% otool -Vt HIServices | grep CoreMenu
_CoreMenuExtraGetMenuExtra:
_CoreMenuExtraAddMenuExtra:
_CoreMenuExtraRemoveMenuExtra:
Given that I can see the actual assembly-language instructions in this
file using otool, can I somehow use that to define the function? That
is, in my program, can I write something like
int CoreMenuExtraGetMenuExtra(...) {
return gccUseAssemblyString( assembly from otool );
}
Thanks,
Josh
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden