BridgeSupport

From Wikipedia, the free encyclopedia

BridgeSupport is a component that allows dynamic calls of any framework of Mac OS X. Given a framework, BridgeSupport generates a xml metadata file describing its constants, enums, structures, and methods. This produces a machine readable description, enabling call of C and Objective C functions.

[edit] Usage in Mac OS X v10.5

RubyCocoa and PyObjC use BridgeSupport along with libffi to call Mac OS X functions.

Not all frameworks are bridged, some will require generation of the bridge file via gen_bridge_metadata.

[edit] External links