Is there a way to expose some c structs and functions from a custom Objective-C framework to MacRuby?

For instance, in my framework I have a 3-D point struct, such as:
typedef struct {
        CGFloat x, y, z;
} JPoint3;

In addition, I have creation functions such as 'JPoint3Make(x, y, z)' etc.

How do I make these usable from MacRuby, like NSPoint and NSMakePoint are?

Jim
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to