← Back to team overview

yade-dev team mailing list archive

Re: macros for exposing classes to python

 

Jerome Duriez a écrit :

Václav Šmilauer a écrit :
 Let me know if there are questions.
First one... : I did not get exactly if we have, by using these YADE_..., to suppress all the declarations (appearing elsewher in the .hpp) of the attributes that are defined through these macros.

Because I suppressed these declarations, and I get now plenty of error messages at the compilation, blaming that all these variables do not exist / were not declared...

And directly the second one, do we have to suppress the constructor as it was before ? Because I also get : /home/3S-LAB/jduriez/yade/pkg/dem/Engine/GlobalEngine/NormalInelasticityLaw.hpp:34: error: 'NormalInelasticityLaw::NormalInelasticityLaw()' cannot be overloaded



Follow ups

References