author | Francesco Abbate <francesco.bbt@gmail.com> | 2011年12月13日 14:43:46 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2011年12月16日 23:56:12 +0100 |
commit | 554468f7e205e4ae9873e901980c485ba0965058 (patch) | |
tree | e8e545eaf0e5ccdace62e99919ae5b6e92beede3 /agg-plot/window.cpp | |
parent | aee6826a547dd043248e8d212d5f0645068ecf05 (diff) | |
download | gsl-shell-554468f7e205e4ae9873e901980c485ba0965058.tar.gz |
-rw-r--r-- | agg-plot/window.cpp | 4 |
diff --git a/agg-plot/window.cpp b/agg-plot/window.cpp index cf02b9e0..02aeab85 100644 --- a/agg-plot/window.cpp +++ b/agg-plot/window.cpp @@ -334,7 +334,7 @@ next_int (const char *str, int& val) } /* Returns the slot_id or -1 in case of error. */ -int window::attach(lua_plot *plot, const char *spec) +int window::attach(sg_plot* plot, const char *spec) { ref::node *n = m_tree; const char *ptr; @@ -497,7 +497,7 @@ int window_attach (lua_State *L) { window *win = object_check<window>(L, 1, GS_WINDOW); - lua_plot *plot = object_check<lua_plot>(L, 2, GS_PLOT); + sg_plot* plot = object_check<sg_plot>(L, 2, GS_PLOT); const char *spec = luaL_checkstring (L, 3); win->lock(); |