Package org.robovm.rt.bro.annotation
Annotation Type AfterBridgeCall
@Retention(RUNTIME) @Target(METHOD) public @interface AfterBridgeCall
Methods annotated with
AfterBridgeCall will be called for the
parameters of a Bridge method that were marshaled to pointers after
the method has completed. This can be used to deallocate memory or update
the native object or Java object that was the result of the marshaling.
AfterBridgeCall methods are optional.
For Bridge parameters that are marshaled from Java objects to native
pointers the method must have a signature matching:
public static void afterJavaToNative(T before, long after, long flags)