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:
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.25.1) at 2025年09月17日 17:26:44 +0000

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