fixed problem with approximation_scale - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/lua-draw.cpp
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年08月03日 16:16:05 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月03日 16:16:05 +0200
commit481e84cfa6cd828a5b3ab1c5af8bd8c598192783 (patch)
tree0276ef327f44c8deb5778391cd5d7be9209b42fb /agg-plot/lua-draw.cpp
parent988797d0f078c58d0dd15cc6c3d2c59640bbcf58 (diff)
downloadgsl-shell-481e84cfa6cd828a5b3ab1c5af8bd8c598192783.tar.gz
fixed problem with approximation_scale
Diffstat (limited to 'agg-plot/lua-draw.cpp')
-rw-r--r--agg-plot/lua-draw.cpp 3
1 files changed, 1 insertions, 2 deletions
diff --git a/agg-plot/lua-draw.cpp b/agg-plot/lua-draw.cpp
index 812cb43e..f70a181f 100644
--- a/agg-plot/lua-draw.cpp
+++ b/agg-plot/lua-draw.cpp
@@ -141,6 +141,7 @@ agg_path_free (lua_State *L)
{
typedef draw::path path_type;
path_type *path = check_agg_path (L, 1);
+ printf("Deallocating path: %p\n", (void *) path);
path->~path_type();
return 0;
}
@@ -406,8 +407,6 @@ draw_register (lua_State *L)
{
pthread_mutex_init (agg_mutex, NULL);
- markers::init();
-
luaL_newmetatable (L, GS_METATABLE(GS_DRAW_PATH));
luaL_register (L, NULL, agg_path_methods);
lua_pop (L, 1);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 23:33:02 +0000

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