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-gsl.c
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-gsl.c
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-gsl.c')
-rw-r--r--lua-gsl.c 4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua-gsl.c b/lua-gsl.c
index 73e28c52..14fab569 100644
--- a/lua-gsl.c
+++ b/lua-gsl.c
@@ -46,6 +46,7 @@
#ifdef AGG_PLOT_ENABLED
#include "lua-plot.h"
+#include "lua-draw.h"
#endif
static const struct luaL_Reg gsl_methods_dummy[] = {{NULL, NULL}};
@@ -55,6 +56,8 @@ luaopen_gsl (lua_State *L)
{
gsl_set_error_handler_off ();
+ prepare_window_ref_table (L);
+
#ifdef USE_SEPARATE_NAMESPACE
luaL_register (L, MLUA_GSLLIBNAME, gsl_methods_dummy);
#else
@@ -79,6 +82,7 @@ luaopen_gsl (lua_State *L)
bspline_register (L);
#ifdef AGG_PLOT_ENABLED
plot_register (L);
+ draw_register (L);
#endif
#ifdef LNUM_COMPLEX
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月20日 13:53:17 +0000

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