← Back to team overview

yade-dev team mailing list archive

Re: macros for exposing classes to python

 

> error: macro "BOOST_PP_TUPLE_ELEM_4_0" requires 4 arguments, but only 3 
> given
> 
> , which could correspond to the fact that I did not yet define this 
> defaut value in my :
> 
> ((Real,coeff_dech,"=kn(unload) / kn(load)"))

The argument can be empty (default value unspecified),  but you still
have to put the comma there (c preprocessor uses commas to separate
arguments), like this:

((Real,coeff_dech,,"=kn(unload) / kn(load)"))
                ^^^^

HTH, Vaclav





References