summaryrefslogtreecommitdiff
path: root/lib/liblua_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/liblua_wrapper.h')
-rw-r--r--lib/liblua_wrapper.h10
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();