adopted standard error message for "out of memory" occurences - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/bitmap-plot.cpp
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年12月01日 12:39:31 +0100
committerfrancesco-ST <francesco.abbate@st.com>2010年12月01日 12:39:31 +0100
commitc11f6b217e328755fb6098c0ad6b3ec0c384dbe3 (patch)
tree8f10722f5d79746bc9bd306542647ae2e1f2d294 /agg-plot/bitmap-plot.cpp
parent42e9f4271470ae30f040a7228b072955b01959b3 (diff)
downloadgsl-shell-c11f6b217e328755fb6098c0ad6b3ec0c384dbe3.tar.gz
adopted standard error message for "out of memory" occurences
Diffstat (limited to 'agg-plot/bitmap-plot.cpp')
-rw-r--r--agg-plot/bitmap-plot.cpp 2
1 files changed, 1 insertions, 1 deletions
diff --git a/agg-plot/bitmap-plot.cpp b/agg-plot/bitmap-plot.cpp
index 5b4a5091..807727a1 100644
--- a/agg-plot/bitmap-plot.cpp
+++ b/agg-plot/bitmap-plot.cpp
@@ -53,7 +53,7 @@ bitmap_save_image (lua_State *L)
}
catch (std::bad_alloc&)
{
- return luaL_error (L, "out of virtual memory");
+ return luaL_error (L, OUT_OF_MEMORY_MSG);
}
return 0;
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 17:25:42 +0000

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