2008/9/5 Jan Dubois <[EMAIL PROTECTED]>: > You probably want to use > > XPUSHs(sv_2mortal(newSViv(PTR2IV(h)))); > > [...] > >> So in the typemap I have: >> >> SANE_Handle T_OPAQUEPTR > > I think you want just T_PTR instead. Or you can explicitly
Excellent, thank you. That seems to have done the trick. Regards Jeff