diff options
author | bloodstalker <thabogre@gmail.com> | 2018-01-26 02:15:38 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-01-26 02:15:38 +0000 |
commit | c5bba9ae8121d250284ecd1ce69ffe344f04fea8 (patch) | |
tree | 73406f955ac06644b24678858f8df7f11bc31896 /bruiser/bruiserffi.h | |
parent | some tests for the ffi funcitonality on bruiuser (diff) | |
download | mutator-c5bba9ae8121d250284ecd1ce69ffe344f04fea8.tar.gz mutator-c5bba9ae8121d250284ecd1ce69ffe344f04fea8.zip |
fixed string type for xobjs, also xcall can now call functions by name as well
Diffstat (limited to 'bruiser/bruiserffi.h')
-rw-r--r-- | bruiser/bruiserffi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bruiser/bruiserffi.h b/bruiser/bruiserffi.h index e9b6b27..c7a2821 100644 --- a/bruiser/bruiserffi.h +++ b/bruiser/bruiserffi.h @@ -41,8 +41,6 @@ extern "C" { X(int32_t, "uint8_t")\ X(int64_t, "uint8_t")\ X(uintptr_t, "uint8_t")\ - //X(float, "uint8_t")\ - X(double, "uint8_t") #define X(X1,X2) REINTERPRET_GENERATOR(X1) X_LIST_GEN @@ -51,6 +49,7 @@ X_LIST_GEN #undef REINTERPRET_GENERATOR float ffi_reinterpret_float(void* result); double ffi_reinterpret_double(void* result); +char* ffi_reinterpret_string(void* result); /** * @brief constructs the arguments to be passed to ffi_call. |