[C++-sig] adding the docstring to the .addproperty() function?!
Naceur Meskini
Naceur.Meskini at sophia.inria.fr
Tue May 23 11:43:33 CEST 2006
Hi everybody,
Is it normal that when I add the docstring to the .addproperty()
function , I get many errors of compilation?
here is an example of my code:
const char * seeds_doc = "seeds doc";
class_< Delaunay_mesher_2 >("Delaunay_mesher_2", init< const
Delaunay_mesher_2& >())
.def("try_one_step_refine_mesh",
&Delaunay_mesher_2::try_one_step_refine_mesh)
.add_property("seeds",&py_seeds<Seeds_iterator,Delaunay_mesher_2>,
seeds_doc) <---------------------
;
Thank you for your help.
-------------------------
Naceur
INRIA.
More information about the Cplusplus-sig
mailing list