include/module.hpp

Go to the documentation of this file.
00001 
00002 #ifndef _MODULE_HPP_
00003 #define _MODULE_HPP_
00004 
00005 struct module_t;
00006 
00007 namespace ps
00008 {
00009         class VM;
00010         
00017         class Module
00018         {
00019                 public:
00020                         Module(VM *vm);
00021                         ~Module();
00022                         
00028                         bool loadSource(const char *filename);
00034                         bool loadBytecode(const char *filename);
00035                         
00044                         bool saveBytecode(const char *filename);
00045                         
00049                         void displayBytecode(void);
00050                 private:
00051                         VM *vm;
00052                         module_t *mod;
00053         };
00054 }
00055 
00056 #endif
00057 

Generated on Sun Feb 3 21:38:49 2008 for libplusscript++ by  doxygen 1.5.3