Re: Documentations on FRAMEWORKS
Re: Documentations on FRAMEWORKS
On Wed, Dec 25, 2002 at 07:11:37PM -1000, David Rio Vierra wrote:
>
Try using nm on the framework's executable file. This should give you
>
a list of all the C and C++ functions, global vars, Obj-C classes and
>
methods in that framework, even if the headers aren't available.
>
You'll have to either pound out the headers yourself, or just declare
>
@class SomePrivateClass; and endure the compiler warnings. Note that C
>
function names from nm are prefixed by a single underscore by the
>
compiler, and you'll have to use the function's name minus the
>
underscore. Also note that C++ function names are mangled. You still
>
won't have any docs, and will have to find out how it all works by
>
trial-and-error.
class-dump works well if there's an Objective-C section, and provides
reasonably complete information. You can unmangle the C++ symbols by
piping through c++filt.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.