FFI: Add support for calling C functions.

This commit is contained in:
Mike Pall
2011-01-06 23:30:04 +01:00
parent 97875c4fa9
commit fb0a18ca0b
11 changed files with 617 additions and 24 deletions

View File

@@ -2074,6 +2074,15 @@ static void build_subroutines(BuildCtx *ctx)
|//-----------------------------------------------------------------------
|
|//-----------------------------------------------------------------------
|//-- FFI helper functions -----------------------------------------------
|//-----------------------------------------------------------------------
|
|->vm_ffi_call:
#if LJ_HASFFI
| NYI
#endif
|
|//-----------------------------------------------------------------------
}
/* Generate the code for a single instruction. */