[MacRuby-devel] Exposing c structs and functions

Jim Getzen jim at getzen.name
Fri Dec 19 07:45:18 PST 2008


John, thanks for the ideas.

Currently, I am using a simple Obj-C class with methods instead of a  
struct and functions. That works OK, but it is not the best solution,  
especially in those cases where the framework would be used by Obj-C  
code instead of MacRuby code and where speed is a concern. A struct/ 
function approach is really ideal.

I am afraid I don't understand the tutorial example concerning  
BridgeSupport files and how that might apply to structs and functions.  
As you said, the documentation on the BridgeSupport web page is  
limited. Before I go down that road, I'd love to know how involved the  
process is, see an example of how it works, and so on.

Perhaps Laurent could shed some light?

Jim


More information about the MacRuby-devel mailing list