yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10921
Re: [Bug 1324191] [NEW] boost::python::arg maybe a bit long?
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
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1324191
Title:
boost::python::arg maybe a bit long?
Status in Yet Another Dynamic Engine:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1324191/+subscriptions
References