← Back to team overview

yade-users team mailing list archive

Re: [Question #689103]: deprec flag

 

Question #689103 on Yade changed:
https://answers.launchpad.net/yade/+question/689103

Vasileios Angelidakis posted a new comment:
Hi again,

I found out why I couldn't use "deprec" properly; sharing it here in case someone else finds the same difficulty.
I was trying to define: YADE_CLASS_BASE_DOC_ATTRS_DEPREC_CTOR, but this doesn't exist in the available macros [1].
Thus, I defined my classes using the generic macro YADE_CLASS_BASE_DOC_ATTRS_DEPREC_INIT_CTOR_PY, leaving empty (with commas) the parts I didn't need, i.e. "init" and "py".

All the best,
Vasileios

[1] https://gitlab.com/yade-
dev/trunk/-/blob/master/lib/serialization/Serializable.hpp#L251

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.