签名编码
| 编码 | C 类型 |
|---|---|
i | int32_t, int, bool, char |
l | int64_t, uint64_t, void* |
d | double, float |
s | const char* |
"ids",返回类型为 "d"。
使用 callMixed
使用 dlopen
支持的签名
| 签名 | C 函数 |
|---|---|
id | double fn(int32_t, double) |
di | double fn(double, int32_t) |
ids | double fn(int32_t, double, const char*) |
sid | double fn(const char*, int32_t, double) |
isd | double fn(int32_t, const char*, double) |
iid | double fn(int32_t, int32_t, double) |
idi | double fn(int32_t, double, int32_t) |
idid | double fn(int32_t, double, int32_t, double) |
ss | int32_t fn(const char*, const char*) |
s | double fn(const char*) |