Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
chaiscript_wrapper.h
Go to the documentation of this file.
1 #ifndef CHAISCRIPT_WRAPPER_H
2 #define CHAISCRIPT_WRAPPER_H
3 #include <memory>
4 #include <chaiscript/chaiscript.hpp>
5 #include <chaiscript/chaiscript_stdlib.hpp>
6 
7 namespace Script {
9  private:
10  static std::shared_ptr<chaiscript::ChaiScript> interpreter;
11  static void createInstance();
12  public:
13  static std::shared_ptr<chaiscript::ChaiScript> getInstance();
14  static void destroyInstance();
15  };
16 }
17 
18 #endif
static void destroyInstance()
Definition: chaiscript_wrapper.cpp:28
static std::shared_ptr< chaiscript::ChaiScript > getInstance()
Definition: chaiscript_wrapper.cpp:22
Definition: chaiscript_wrapper.h:8