mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fixed typos in quick n' dirty tutorial.
This commit is contained in:
parent
38473d39fe
commit
76065527f7
|
@ -18,7 +18,7 @@ print(a,b,c)
|
||||||
sol::load_result fx = lua.load(my_script);
|
sol::load_result fx = lua.load(my_script);
|
||||||
if (!fx.valid()) {
|
if (!fx.valid()) {
|
||||||
sol::error err = fx;
|
sol::error err = fx;
|
||||||
std::cerr << "failde to load string-based script in the program" << err.what() << std::endl;
|
std::cerr << "failed to load string-based script into the program" << err.what() << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// prints "your arguments here"
|
// prints "your arguments here"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user