Package org.bytedeco.javacpp.annotation
Annotation Interface ByRef
Indicates that an argument gets passed or returned by reference. When used
alongside
FunctionPointer
, the Generator
passes the underlying
C++ function object (aka functor) instead of a function pointer.- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
boolean valueWhen true indicates that the argument actually needs to be an rvalue reference (aka movable value).- Default:
false
-
nullValue
String nullValueA C++ expression to use when null is passed. By defaultNullPointerException
is thrown.- Default:
""
-