Ruz
2006-06-15 01:05:05 UTC
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.
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.