• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using assembly in objective-c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using assembly in objective-c
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Using WebKit to Download Binary Files
  • Next by Date: Re: How does NSButtonCell do its drawing?
  • Previous by thread: Re: How does NSButtonCell do its drawing?
  • Next by thread: Re: Using assembly in objective-c
  • Index(es):
    • Date
    • Thread