diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
commit | 408e980a83437ed621fa99ae0cd8d2bc6579f5ba (patch) | |
tree | 7f73587d84487f989bca966a22fc1c85c3f8397b /lib/liblua_wrapper.h | |
parent | 7d8e6af2df12442c1c133956b3acf3fdbc496423 (diff) |
Fix warnings and error (due to bitrot)master-old
Diffstat (limited to 'lib/liblua_wrapper.h')
-rw-r--r-- | lib/liblua_wrapper.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/liblua_wrapper.h b/lib/liblua_wrapper.h index 30371fe..f83760f 100644 --- a/lib/liblua_wrapper.h +++ b/lib/liblua_wrapper.h @@ -40,7 +40,7 @@ public: * loadFile reads, parses and runs a lue file. * @return 0 on success 1 on error */ - int loadFile(char *fname); + int loadFile(const char *fname); /** * loadBuffer parses a buffer containing lue code, @@ -49,10 +49,10 @@ public: */ int loadBuffer(char *buffer); - double getReal(char *name); - int getInteger(char *name); - bool getBoolean(char *name); - std::string getString(char *name); + double getReal(const char *name); + int getInteger(const char *name); + bool getBoolean(const char *name); + std::string getString(const char *name); std::string error(); |