@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD,PARAMETER}) public @interface Const
Cast that simply adds const to the parameter type, function, or class.
const char* and the second for a pointer like char const *.
const or not. For backward compatibility, we keep the third element empty.
true, it means all the functions are const.
Can also be declared on a FunctionPointer in the case of const functions.
Generator| Modifier and Type | Optional Element and Description |
|---|---|
boolean[] |
value
If
true, applies const to the value and to the pointer, respectively. |
Copyright © 2022. All rights reserved.