public class FFIUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LLVM_PKG_PATH |
static String |
NATIVE_KEY |
| Constructor and Description |
|---|
FFIUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addNativeToRecode(Object module,
BMap<String,BValue> bStruct) |
static <T> T |
getRecodeArgumentNative(Context context,
int index) |
static <T> T[] |
getRecodeArrayArgumentNative(Context context,
int index,
IntFunction<T[]> generator) |
static BMap<String,BValue> |
newRecord(Context context,
String type) |
public static final String LLVM_PKG_PATH
public static final String NATIVE_KEY
public static <T> T getRecodeArgumentNative(Context context, int index)
public static <T> T[] getRecodeArrayArgumentNative(Context context, int index, IntFunction<T[]> generator)
Copyright © 2019 WSO2. All rights reserved.