Changeset 10264 for code/trunk/src/libraries/core/LuaState.h
- Timestamp:
- Feb 11, 2015, 10:56:26 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/LuaState.h
r8858 r10264 94 94 void clearOutput() { output_.clear(); } // tolua_export 95 95 96 void setTraceMap(shared_ptr<std::vector<std::vector<std::pair<std::string, size_t>>>> map) 97 { map->push_back(std::vector<std::pair<std::string, size_t>>()); lineTrace_ = map; } 98 96 99 void setIncludeParser(std::string (*function)(const std::string&)) { includeParseFunction_ = function; } 97 100 lua_State* getInternalLuaState() { return luaState_; } … … 113 116 private: 114 117 shared_ptr<ResourceInfo> getFileInfo(const std::string& filename); 115 118 shared_ptr<std::vector<std::vector<std::pair<std::string, size_t>>>> lineTrace_; 119 116 120 std::stringstream output_; 117 121 lua_State* luaState_;
Note: See TracChangeset
for help on using the changeset viewer.