Annotation Interface FFMReturn.SizeOut

Enclosing class:
FFMReturn

@Target(METHOD) @Retention(RUNTIME) public static @interface FFMReturn.SizeOut
Specifies the output parameter that receives the actual buffer size.

If specified, the native function is assumed to return void.

If not specified, the native function is assumed to return the actual buffer size, with the same carrier type as the FFMReturn.Size parameter, or void if no such parameter exists.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    Index of the output parameter that receives the returned buffer size.
  • Element Details

    • value

      int value
      Index of the output parameter that receives the returned buffer size.

      It should be the native parameter index, ignoring any virtual parameters before the actual parameters.