loadfilex doesn't exist... nice.

This commit is contained in:
ThePhD 2016-04-23 17:16:56 -04:00
parent f37eedd6c2
commit 673fc3a6fa
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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);
}