Wrap all STL includes to support drv:: and eng::
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include "wrap-string.hpp"
|
||||
#include "wrap-vector.hpp"
|
||||
#include "wrap-map.hpp"
|
||||
#include "wrap-set.hpp"
|
||||
#include "wrap-algorithm.hpp"
|
||||
#include "wrap-sstream.hpp"
|
||||
|
||||
#include "util.hpp"
|
||||
|
||||
#include "luastack.hpp"
|
||||
#include "traceback.hpp"
|
||||
#include "table.hpp"
|
||||
#include "source.hpp"
|
||||
#include "luasnap.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
LuaDefine(makeclass, "classname", "create a class if it doesn't already exist") {
|
||||
LuaArg classname;
|
||||
LuaRet classtab;
|
||||
@@ -375,7 +376,7 @@ static std::string source_load_lfunctions(lua_State *L) {
|
||||
}
|
||||
|
||||
// Now call the closures in the proper order.
|
||||
std::stringstream errss;
|
||||
std::ostringstream errss;
|
||||
for (const auto &p : indices) {
|
||||
LS.rawget(info, sourcedb, p.second);
|
||||
LS.rawget(closure, info, "loadresult");
|
||||
|
||||
Reference in New Issue
Block a user