github.com/aergoio/aergo@v1.3.1/cmd/aergoluac/util/compile.h (about)

     1  #ifndef _COMPILE_H
     2  #define _COMPILE_H
     3  
     4  typedef struct lua_State lua_State;
     5  
     6  lua_State *luac_vm_newstate();
     7  void luac_vm_close(lua_State *L);
     8  const char *vm_compile(lua_State *L, const char *code, const char *byte, const char *abi);
     9  const char *vm_loadfile(lua_State *L, const char *filename);
    10  const char *vm_loadstring(lua_State *L, const char *source);
    11  const char *vm_stringdump(lua_State *L);
    12  
    13  #endif /* _COMPILE_H */