summaryrefslogtreecommitdiff
path: root/include/BLua.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-10-21 09:38:34 -0700
committerPixel <pixel@nobis-crew.org>2009-10-21 09:38:34 -0700
commit615d4b72617c42d4c352724379cb1a4b866b0aea (patch)
tree283d6d56b8178b53d301a8e9c54de01acfb9a5e3 /include/BLua.h
parentf0322e2a0ebfca336049ab824f76204874257ba4 (diff)
Adding a few much needed consts.
Diffstat (limited to 'include/BLua.h')
-rw-r--r--include/BLua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/BLua.h b/include/BLua.h
index 6cfbd2b..6fadeaf 100644
--- a/include/BLua.h
+++ b/include/BLua.h
@@ -84,7 +84,7 @@ class Lua : public Base {
void push(lua_Number);
void push(const String &);
void push(bool);
- void push(char *, int size = -1);
+ void push(const char *, int size = -1);
void push(void *);
void push(lua_CFunction, int = 0);
void pop(int = 1);
@@ -216,7 +216,7 @@ enum Lua_types_t {
struct lua_functypes_t {
int number;
- char * name;
+ const char * name;
int minargs, maxargs;
int argtypes[MAXARGS];
};