author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年04月20日 17:01:49 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年04月20日 17:01:49 +0200 |
commit | ae75456d5b2d098d2da97aa79d0c91667095543c (patch) | |
tree | ad0d325b31794d69cbbc0413cf98a6305b3b9eb2 /agg-plot/lua-draw.cpp | |
parent | 10cfdf7af613c1355135b00d930657453ade4ce4 (diff) | |
download | gsl-shell-ae75456d5b2d098d2da97aa79d0c91667095543c.tar.gz |
-rw-r--r-- | agg-plot/lua-draw.cpp | 5 |
diff --git a/agg-plot/lua-draw.cpp b/agg-plot/lua-draw.cpp index ad2cd4c6..3bb53ac8 100644 --- a/agg-plot/lua-draw.cpp +++ b/agg-plot/lua-draw.cpp @@ -26,6 +26,7 @@ extern "C" { } #include "lua-draw.h" +#include "lua-graph.h" #include "text-shape.h" #include "lua-cpp-utils.h" #include "gs-types.h" @@ -33,8 +34,6 @@ extern "C" { #include "colors.h" #include "sg_marker.h" -pthread_mutex_t agg_mutex[1]; - enum path_cmd_e { CMD_ERROR = -1, CMD_MOVE_TO = 0, @@ -312,8 +311,6 @@ marker_free (lua_State *L) void draw_register (lua_State *L) { - pthread_mutex_init (agg_mutex, NULL); - luaL_newmetatable (L, GS_METATABLE(GS_DRAW_PATH)); luaL_register (L, NULL, agg_path_methods); lua_pop (L, 1); |