klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

kgffi.h (365B)


      1 /*
      2 ** kgffi.h
      3 ** Foreign function interface
      4 ** See Copyright Notice in klisp.h
      5 */
      6 
      7 #ifndef kgffi_h
      8 #define kgffi_h
      9 
     10 #if (KUSE_LIBFFI != 1)
     11 #    error "Compiling FFI code, but KUSE_LIBFFI != 1."
     12 #endif
     13 
     14 #include "kstate.h"
     15 
     16 /* init ground */
     17 void kinit_ffi_ground_env(klisp_State *K);
     18 /* init continuation names */
     19 void kinit_ffi_cont_names(klisp_State *K);
     20 
     21 #endif