diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-28 14:53:12 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-28 14:53:12 -0800 |
commit | 4729a0cceaa241f8104d482c97ac4b2edb0c824a (patch) | |
tree | 4ef9beeffc9768ef1a077e0e5d29ac0ea566322e /unix/main.c | |
parent | 7f11c794a53b78dc90d924b8c44e6d8165d5b4af (diff) | |
parent | 809eaa2679f59a74f394aa09515fd484ff3f0ad8 (diff) |
Merge pull request #235 from pfalcon/modffi
unix: Initial FFI module implementation
Diffstat (limited to 'unix/main.c')
-rw-r--r-- | unix/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/main.c b/unix/main.c index 212bbe877..69bac044f 100644 --- a/unix/main.c +++ b/unix/main.c @@ -24,6 +24,7 @@ extern const mp_obj_fun_native_t mp_builtin_open_obj; void file_init(); void rawsocket_init(); +void ffi_init(); static void execute_from_lexer(mp_lexer_t *lex, mp_parse_input_kind_t input_kind, bool is_repl) { if (lex == NULL) { @@ -227,6 +228,7 @@ int main(int argc, char **argv) { file_init(); rawsocket_init(); + ffi_init(); // Here is some example code to create a class and instance of that class. // First is the Python, then the C code. |