projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved some sprites to separate files
[supertux.git]
/
src
/
scripting
/
wrapper_util.hpp
diff --git
a/src/scripting/wrapper_util.hpp
b/src/scripting/wrapper_util.hpp
index
54ca2e9
..
a6cfa23
100644
(file)
--- a/
src/scripting/wrapper_util.hpp
+++ b/
src/scripting/wrapper_util.hpp
@@
-2,21
+2,10
@@
#define __WRAPPERUTIL_HPP__
#include <squirrel.h>
#define __WRAPPERUTIL_HPP__
#include <squirrel.h>
-#include <exception>
#include <sstream>
#include <string>
#include <sstream>
#include <string>
-class SquirrelError : public std::exception
-{
-public:
- SquirrelError(HSQUIRRELVM v, const std::string& message) throw();
- virtual ~SquirrelError() throw();
-
- const char* what() const throw();
-private:
- std::string message;
-};
-
+std::string squirrel2string(HSQUIRRELVM v, int i);
void print_squirrel_stack(HSQUIRRELVM v);
#endif
void print_squirrel_stack(HSQUIRRELVM v);
#endif