added new c++ version of agg - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/lua-utils.h
diff options
context:
space:
mode:
authorfr4nko <francesco.bbt@gmail.com>2010年06月29日 11:48:05 +0200
committerfr4nko <francesco.bbt@gmail.com>2010年06月29日 11:48:05 +0200
commit1beceb467757384bd5695f5e7ed9acfba590bd4a (patch)
tree009f1a0df1484ebf721a93a6e3f2b1d135e4f4ba /lua-utils.h
parentb5f50727239483643508795750262bc3ab6723ca (diff)
downloadgsl-shell-1beceb467757384bd5695f5e7ed9acfba590bd4a.tar.gz
added new c++ version of agg
Now the agg graphical modules have a different implementations. Now lua code is written directly in C++. We have also changed the memory reference system: now lua is responsable of freeing everything.
Diffstat (limited to 'lua-utils.h')
-rw-r--r--lua-utils.h 14
1 files changed, 13 insertions, 1 deletions
diff --git a/lua-utils.h b/lua-utils.h
index e2a08fb6..780645f7 100644
--- a/lua-utils.h
+++ b/lua-utils.h
@@ -22,7 +22,10 @@
#define LUA_UTILS_H
#include "defs.h"
-#include <lua.h>
+
+__BEGIN_DECLS
+
+#include "lua.h"
extern void
mlua_openlibs (lua_State *L);
@@ -63,5 +66,14 @@ extern lua_Number mlua_named_number (lua_State *L, int index,
extern void mlua_fenv_set (lua_State *L, int index, int fenv_index);
extern void mlua_fenv_get (lua_State *L, int index, int fenv_index);
+extern void mlua_fenv_addref (lua_State *L, int refindex);
+extern void mlua_set_fenv_ref (lua_State *L, int refidx);
+extern int mlua_window_ref (lua_State *L, int index);
+extern void mlua_window_unref (lua_State *L, int id);
+
+extern void prepare_window_ref_table (lua_State *L);
+
+__END_DECLS
+
#endif
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月19日 09:45:19 +0000

AltStyle によって変換されたページ (->オリジナル) /