Package org.bytedeco.javacpp.annotation
Annotation Type Cast
-
@Documented @Retention(RUNTIME) @Target({METHOD,PARAMETER,ANNOTATION_TYPE}) public @interface CastIndicates a type cast required on the argument to satisfy the native compiler. When used withAdaptera second cast can also be specified making it possible to apply a cast to both the argument and the adapter, in this order. A third "precast" can also be specified, which gets applied before the second one, but also on return values passed to adapters.At the moment,
Generatormakes use of the simple C-style cast. If one requires a different kind of type conversion, such as thedynamic_castoperator, those can be accessed as if they were functions (with theNameannotation to specify the type) because they have the same syntax.- See Also:
Generator
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]value
-