mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
loadfilex doesn't exist... nice.
This commit is contained in:
parent
f37eedd6c2
commit
673fc3a6fa
|
@ -21,8 +21,8 @@ get going:
|
|||
:maxdepth: 1
|
||||
:name: mastertoc
|
||||
|
||||
tutorial/tutorial-top
|
||||
tutorial/all-the-things
|
||||
tutorial/tutorial-top
|
||||
api/api-top
|
||||
features
|
||||
benchmarks
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
quick 'n' dirty - all the things
|
||||
================================
|
||||
tutorial: quick 'n' dirty
|
||||
=========================
|
||||
|
||||
These are all the things. Use your browser's search to find something that might help.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Tutorial
|
||||
tutorial
|
||||
========
|
||||
|
||||
Take some time to learn the framework with thse tutorials. But, if you need to get going FAST, try using the :doc:`quick 'n' dirty<all-the-things>` approach and your browser's / editors search function.
|
||||
|
|
|
@ -164,7 +164,7 @@ public:
|
|||
}
|
||||
|
||||
stack_proxy load_file(const std::string& filename) {
|
||||
luaL_loadfilex(L, filename.c_str(), nullptr);
|
||||
luaL_loadfile(L, filename.c_str());
|
||||
return stack_proxy(L, -1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user