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/bitmap-plot.cpp | |
parent | aee6826a547dd043248e8d212d5f0645068ecf05 (diff) | |
download | gsl-shell-554468f7e205e4ae9873e901980c485ba0965058.tar.gz |
-rw-r--r-- | agg-plot/bitmap-plot.cpp | 4 |
diff --git a/agg-plot/bitmap-plot.cpp b/agg-plot/bitmap-plot.cpp index 9ae6469a..ec92f131 100644 --- a/agg-plot/bitmap-plot.cpp +++ b/agg-plot/bitmap-plot.cpp @@ -14,7 +14,7 @@ extern "C" { #include "platform_support_ext.h" void -bitmap_save_image_cpp (lua_plot *p, const char *fn, unsigned w, unsigned h, +bitmap_save_image_cpp (sg_plot *p, const char *fn, unsigned w, unsigned h, gslshell::ret_status& st) { try { @@ -46,7 +46,7 @@ bitmap_save_image_cpp (lua_plot *p, const char *fn, unsigned w, unsigned h, int bitmap_save_image (lua_State *L) { - lua_plot *p = object_check<lua_plot>(L, 1, GS_PLOT); + sg_plot *p = object_check<sg_plot>(L, 1, GS_PLOT); const char *fn = luaL_checkstring (L, 2); int w = luaL_optint (L, 3, 480), h = luaL_optint (L, 4, 480); |