diff options
| author | deva <deva> | 2006-08-16 23:48:22 +0000 | 
|---|---|---|
| committer | deva <deva> | 2006-08-16 23:48:22 +0000 | 
| commit | 6c07f9219bed6ccddc9b65ad40414cf0a9f7d633 (patch) | |
| tree | 95f5fe5db16808d7b13511a6344bc269692e6e17 /lib/liblua_wrapper.h | |
| parent | cca64725502c1035ca50675dda6c42dad18f0cbf (diff) | |
Finished the Configuration class (Still missing vector<string> though!)
Replaced the old MiavConfig class with the new Configuration class in all the the appropriate places.
Diffstat (limited to 'lib/liblua_wrapper.h')
| -rw-r--r-- | lib/liblua_wrapper.h | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/lib/liblua_wrapper.h b/lib/liblua_wrapper.h index fed15c1..70eb8a8 100644 --- a/lib/liblua_wrapper.h +++ b/lib/liblua_wrapper.h @@ -37,11 +37,18 @@ public:    ~LibLUAWrapper();    /** -   * loadFile reads and parses a lue file. +   * loadFile reads, parses and runs a lue file.     * @return 0 on success 1 on error     */    int loadFile(char *fname); +  /** +   * loadBuffer parses a buffer containing lue code,  +   * pushes it on the stack, and runs it +   * @return 0 on success 1 on error +   */ +  int loadBuffer(char *buffer); +    double getReal(char *name);    int getInteger(char *name);    bool getBoolean(char *name); | 
