From: Alex Fenton Date: 2008-08-19T10:26:50+09:00 Subject: Re: easiest way to access rb_sprintf Nobuyoshi Nakada wrote: >> static VALUE >> cpp_ptr_addr(VALUE self, VALUE obj) >> { > void *ptr = DATA_PTR(obj); > return rb_sprintf("%p", ptr); >> } excellent, thank you both. i'm ultimately targetting 1.9 so this is ideal. alex