boost::python::arg maybe a bit long?
Bug #1324191 reported by
Bruno Chareyre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
When a function as many default parameters in YADE_CLASS macros it increases the code seriously.
possible fix:
#define boost::python::arg arg
+ search/replace
Changed in yade: | |
importance: | Undecided → Wishlist |
Changed in yade: | |
status: | New → Opinion |
To post a comment you must log in.
Hi Bruno,
I am not the fan of "#defines", and I would propose to
use something like:
namespace py = boost::python;
what is used already in some parts of the code [1]. I think
it will be more safely and reduces this expression.
Anton