dart-native / codegen

Generator for dart_native bindings. Codegen can transform native SDK to Flutter plugin.
BSD 3-Clause "New" or "Revised" License
79 stars 3 forks source link

Support out parameter. #11

Closed yulingtianxia closed 4 years ago

yulingtianxia commented 4 years ago

For example:

- (void)fooWithError:(out NSError **)error;

Result:

void fooWithError(NSObjectRef<NSError> ref) {
    perform(SEL('fooWithError:'), args: [ref]);
}