So kind of on this topic ..

which one of these ("c", "i", "s" etc) do I use for void pointers (to memory) eg. the data parameter in the method below? (when otherwise appropriately changed to ruby and Application.services imported etc).

CGContextRef CGBitmapContextCreate (
   void *data,
   size_t width,
   size_t height,
   size_t bitsPerComponent,
   size_t bytesPerRow,
   CGColorSpaceRef colorspace,
   CGBitmapInfo bitmapInfo
);

Cheers,
J

On Jan 2, 2009, at 11:21 PM, Dave Lee wrote:

On Thu, Jan 1, 2009 at 7:37 PM, Lachie <lachiec@gmail.com> wrote:
Cheque it: http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/chapter_7_section_1.html#//apple_ref/doc/uid/TP40008048-CH100-SW1

see also: /usr/include/objc/runtime.h

Dave
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel