summaryrefslogtreecommitdiff
path: root/lls/lls.h
diff options
context:
space:
mode:
Diffstat (limited to 'lls/lls.h')
-rw-r--r--lls/lls.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/lls/lls.h b/lls/lls.h
index 7157070..72d0ac5 100644
--- a/lls/lls.h
+++ b/lls/lls.h
@@ -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