1. Ronald Oussoren
  2. objective.metadata


objective.metadata /

Filename Size Date modified Message
116 B
Add minimal documentation
996 B
Actually store information instead of just printing
14.6 KB
Initial version using objective.cparser
994 B
Migrate objective.metadata to use libclang.

PyObjC metadata generator using objective.cparser

This project is hopelessly incomplete at the moment

TODO: - Enhance the parser module to collect all useful definitions - Add useful storage format

-> The format will be JSON
  • Merge information from several parses: - i386, x86_64, ppc - OSX 10.5, 10.6, 10.7

  • Extract those bits that are genuinely useful:

    • Constant definitions
    • Variable defintions (extern NSString* NSFoo ...)
    • Function definitions
    • Methods with "interesting" prototypes (ptr-to-value arguments, special types like BOOL)
    • Informal protocols
  • Add automatic enrichment of some "intersting" prototypes * an 'NSError**' argument is almost certainly a

    by reference output argument, null allowed,

    • CFCreateFoo() that returns a CFType returns a value that is CFRetained,


  • Add mechanisme for adding metadata * Specify argument annotations * Possibly add new definitions * Specify that some definitions should not be wrapped