Hi. I'm trying to embed perl into C programm. In C function I have tMyStruct* xxx and want bless this pointer into class 'MyStruct' and pass this object as argument into perl function. I really don't understand how to write something like "bless $ref_to_xxx, 'MyStruct'". Could give me small example or pointer to a code where it's implemented.
-- Best regards, Ruslan.