http://www.perlmonks.org?node_id=402171


in reply to Re: XSUBs with variable input types
in thread XSUBs with variable input types

Thanks for the hints! However, Perl can't know about the relationship with the Perl classes, since in my typemap, I declared the following:

fooRef T_PTROBJ barRef T_PTROBJ bazRef T_PTROBJ

How should I go about telling Perl that fooRef actually is a Foo object?