gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/agg-parse-trans.h
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/agg-parse-trans.h')
-rw-r--r--agg-plot/agg-parse-trans.h 30
1 files changed, 3 insertions, 27 deletions
diff --git a/agg-plot/agg-parse-trans.h b/agg-plot/agg-parse-trans.h
index 2e8c8bfb..58a172f5 100644
--- a/agg-plot/agg-parse-trans.h
+++ b/agg-plot/agg-parse-trans.h
@@ -5,35 +5,11 @@ extern "C" {
#include "lua.h"
}
-#include <exception>
-
+#include "lua-cpp-utils.h"
#include "sg_object.h"
#include "agg_color_rgba.h"
-class agg_spec_error : public std::exception {
-public:
- enum err_e {
- invalid_tag = 0,
- invalid_spec,
- missing_parameter,
- invalid_object,
- generic_error
- };
-
- agg_spec_error(enum err_e err) : m_code(err) {};
- agg_spec_error() : m_code(generic_error) {};
-
- virtual const char* what() const throw()
- {
- return m_msg[(int) m_code];
- }
-
-private:
- err_e m_code;
-
- static const char *m_msg[];
-};
-
-extern sg_object* parse_graph_args (lua_State *L, agg::rgba8& color);
+extern sg_object* parse_graph_args (lua_State *L, agg::rgba8& color,
+ gslshell::ret_status& st);
#endif
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月17日 11:01:26 +0000

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