Use objc_allocateProtocol on Lion

Issue #4 resolved
Ronald Oussoren
repo owner created an issue

Lion introduces objc_allocateProtocol() to create new formal protocols at runtime.

This needs to be made available to Python code (using the same weak-linking tricks as the other runtime API code to ensure that it is possible to create a binary that works on OSX 10.5 and further)