projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
miniswig suspend is now an attribute appended to functions
[supertux.git]
/
src
/
scripting
/
wrapper_util.hpp
diff --git
a/src/scripting/wrapper_util.hpp
b/src/scripting/wrapper_util.hpp
index
63e185d
..
54ca2e9
100644
(file)
--- a/
src/scripting/wrapper_util.hpp
+++ b/
src/scripting/wrapper_util.hpp
@@
-3,17
+3,9
@@
#include <squirrel.h>
#include <exception>
#include <squirrel.h>
#include <exception>
+#include <sstream>
#include <string>
#include <string>
-struct WrappedFunction {
- const char* name;
- SQFUNCTION f;
-};
-struct WrappedClass {
- const char* name;
- WrappedFunction* functions;
-};
-
class SquirrelError : public std::exception
{
public:
class SquirrelError : public std::exception
{
public:
@@
-25,9
+17,6
@@
private:
std::string message;
};
std::string message;
};
-void register_functions(HSQUIRRELVM v, WrappedFunction* functions);
-void register_classes(HSQUIRRELVM v, WrappedClass* classes);
-
void print_squirrel_stack(HSQUIRRELVM v);
#endif
void print_squirrel_stack(HSQUIRRELVM v);
#endif