diff options
Diffstat (limited to 'lls/lls.h')
-rw-r--r-- | lls/lls.h | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -13,17 +13,15 @@ typedef struct { int top; lls_FuncMap* funcMap; -} lls_Context; +} lls_Env; -lls_Context* lls_newcontext(); +lls_Env* lls_newenv(); -int lls_bindfunction(lls_Context* C, const char* fname, lls_Func func); -int lls_bindvariable(lls_Context* C, const char* vname, void* variable); +int lls_bindfunction(lls_Env* env, const char* fname, lls_Func func); +int lls_bindvariable(lls_Env* env, const char* vname, void* variable); int lls_bindset(); -int lls_executefile(lls_Context* C, const char* file); -int lls_executesource(lls_Context* C, const void* buffer, int size); - - +int lls_executefile(lls_Env* env, const char* file); +int lls_executesource(lls_Env* env, const void* buffer, int size); #endif
\ No newline at end of file |