In the references example, there is the following case:
- decl: double* getArray() +dimension(getSize())
I ran into a problem wrapping the function if it is const, e.g.
- decl: double* getArray() const +dimension(getSize())
The errors were of the form:
<src>.cpp: error: a value of type "const ArrayWrapper *" cannot be used to initialize an entity of type "ArrayWrapper *"
ArrayWrapper *obj = static_cast<const ArrayWrapper *>(self->addr);
Could you please add the const versions of these functions, with shroud wrappers?
In the
referencesexample, there is the following case:I ran into a problem wrapping the function if it is
const, e.g.The errors were of the form:
Could you please add the
constversions of these functions, with shroud wrappers?