mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Rename script_file to open_file
This commit is contained in:
parent
c241a3df92
commit
9f36db8148
@ -121,7 +121,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void script_file(const std::string& filename) {
|
||||
void open_file(const std::string& filename) {
|
||||
if (luaL_dofile(L.get(), filename.c_str())) {
|
||||
lua_error(L.get());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user