aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_nif.h
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2015-12-10 11:28:56 +0100
committerLukas Larsson <[email protected]>2016-04-15 14:53:09 +0200
commit13bd4ca2493d8a76f9d835c27163b56ba86c2aef (patch)
tree777ed6f8c7062ee79bcb7f0afa17b565de9aa39a /erts/emulator/beam/erl_nif.h
parentfa2f841dc17da2704c2307b6f04aaee85de2366d (diff)
downloadotp-13bd4ca2493d8a76f9d835c27163b56ba86c2aef.tar.gz
otp-13bd4ca2493d8a76f9d835c27163b56ba86c2aef.tar.bz2
otp-13bd4ca2493d8a76f9d835c27163b56ba86c2aef.zip
erts: Add erts_nif_get_funcs and erts_nif_call_function
These are convinience functions for calling nifs from erts
Diffstat (limited to 'erts/emulator/beam/erl_nif.h')
-rw-r--r--erts/emulator/beam/erl_nif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_nif.h b/erts/emulator/beam/erl_nif.h
index 44a2581436..33785ecaca 100644
--- a/erts/emulator/beam/erl_nif.h
+++ b/erts/emulator/beam/erl_nif.h
@@ -96,7 +96,7 @@ typedef enum {
struct enif_environment_t;
typedef struct enif_environment_t ErlNifEnv;
-typedef struct
+typedef struct enif_func_t
{
const char* name;
unsigned arity;