[C++-sig] boost.python fails to recognize type

Stefan Seefeld seefeld at sympatico.ca
Tue Jul 29 00:37:51 CEST 2008


Mateusz Berezecki wrote:
> Hello,
>
> That's the complete example code
>   

I guess you missed the other keyword: small (or as I would have spelled 
it: minimal).

As Gennadi guessed, you didn't instantiate your ScanSpec. Try replacing

scan_spec = ht.ScanSpec

by

scan_spec = ht.ScanSpec()

and all should work fine.


HTH,
       Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...




More information about the Cplusplus-sig mailing list