[C++-sig] wrapping function taking pointer to pointer

Jason.Sibthorpe at aculab.com Jason.Sibthorpe at aculab.com
Mon Sep 8 21:38:23 CEST 2003


Hi all,

Could someone point me towards the documentation (if any exists)
for wrapping a function taking a pointer to a pointer to some
type.

void ptrptr(char **in)
{}

BOOST_PYTHON_MODULE(test)
{
    def("ptrptr", &ptrptr);
}

When calling the function from python I get the following

<snip>
did not match C++ signature:
    inptrptr(char**)

Thanks

Jason Sibthorpe
Software Engineer
Aculab 
Tel: +44 (0) 1908 273 869
Fax: +44 (0) 1908 273 801
Email: jason.sibthorpe at aculab.com
Website: <http://www.aculab.com>





More information about the Cplusplus-sig mailing list