From: Verestiuc Vlad Ovidiu Date: 2007-07-04T14:21:09+09:00 Subject: Data_Wrap_Struct for T_CLASS Hello, I need to keep some information about some states for a class. This information is encapsulated into a C structure. I was thinking if there is any way to something like Data_Wrap_Struct for instance to classes. I have to mention that I need that information to be available soon after I create the class, so using rb_define_alloc_func it's not an option since is called when the that class is instantiated. Thank you. -vlad.