Well, I say odd but it's almost certainly my fault :(

I have a C++ library which I've started wrapping. In the typemap file I 
have

TYPEMAP
Reelmaker  * T_PTROBJ

Make test runs fine with a new and a destroy but, when i try doing any 
methods I get a failure like

"Can't locate object method "add_frame" via package "ReelmakerPtr" 
(perhaps you forgot to load "ReelmakerPtr"?)"


The XS currently looks like .... 


MODULE = Reelmaker          PACKAGE = Reelmaker

Reelmaker *
Reelmaker::new()

void
Reelmaker::DESTROY()

int
Reelmaker::add_frame(char *filename)
    CODE:
        RETVAL = THIS->add_frame(filename);





Cheers,

Simon


Reply via email to