public @interface FFIFunGen
import std.StdVector;
import std.StdString;
class Foo {
StdVector<Integer> <T> get(T t, StdString str, StdVector<StdVector<Long>> in, int a, Float f);
}
And we can use the following annotation to match the method
{@code| Modifier and Type | Required Element and Description |
|---|---|
String |
name |
String[] |
parameterTypes |
String |
returnType
Note that fastFFI does not support array types.
|
| Modifier and Type | Optional Element and Description |
|---|---|
CXXTemplate[] |
templates |
public abstract String name
public abstract String[] parameterTypes
public abstract String returnType
public abstract CXXTemplate[] templates
Copyright © 2022 Alibaba Group Holding Ltd.. All rights reserved.