├── .gitignore ├── Doxyfile ├── changelog.doxypage ├── concepts.doxypage ├── doc └── html │ ├── annotated.html │ ├── annotated_dup.js │ ├── arrowdown.png │ ├── arrowright.png │ ├── basic_concepts.html │ ├── bc_s.png │ ├── bdwn.png │ ├── changelog.html │ ├── classes.html │ ├── classlua_1_1_context-members.html │ ├── classlua_1_1_context.html │ ├── classlua_1_1_context.js │ ├── classlua_1_1_context_1_1_registry-members.html │ ├── classlua_1_1_context_1_1_registry.html │ ├── classlua_1_1_context_1_1_registry.js │ ├── classlua_1_1_registry_key-members.html │ ├── classlua_1_1_registry_key.html │ ├── classlua_1_1_registry_key.js │ ├── classlua_1_1_retval-members.html │ ├── classlua_1_1_retval.html │ ├── classlua_1_1_state-members.html │ ├── classlua_1_1_state.html │ ├── classlua_1_1_state.js │ ├── classlua_1_1_table-members.html │ ├── classlua_1_1_table.html │ ├── classlua_1_1_table.js │ ├── classlua_1_1_valref-members.html │ ├── classlua_1_1_valref.html │ ├── classlua_1_1_valref.js │ ├── classlua_1_1_valref.png │ ├── classlua_1_1_valset-members.html │ ├── classlua_1_1_valset.html │ ├── classlua_1_1_valset.js │ ├── classlua_1_1_value-members.html │ ├── classlua_1_1_value.html │ ├── classlua_1_1_value.js │ ├── classlua_1_1_value.png │ ├── closed.png │ ├── compatibility.html │ ├── configuring.html │ ├── deprecated.html │ ├── dir_163803e02a322e0a9c03c35a54b1da0b.html │ ├── dir_163803e02a322e0a9c03c35a54b1da0b.js │ ├── doc.png │ ├── doxygen.css │ ├── doxygen.png │ ├── dynsections.js │ ├── external_links.html │ ├── faq.html │ ├── files.html │ ├── files.js │ ├── folderclosed.png │ ├── folderopen.png │ ├── functions.html │ ├── functions_enum.html │ ├── functions_func.html │ ├── functions_type.html │ ├── functions_vars.html │ ├── globals.html │ ├── globals_defs.html │ ├── hierarchy.html │ ├── hierarchy.js │ ├── index.html │ ├── jquery.js │ ├── lpp_logo.png │ ├── lua_8hpp.html │ ├── lua_8hpp.js │ ├── luainc_8h.html │ ├── main_license.html │ ├── motivational_example.html │ ├── namespacelua.html │ ├── namespacelua.js │ ├── namespacelua_structlua_1_1_closure_info_dup.js │ ├── namespacemembers.html │ ├── namespacemembers_enum.html │ ├── namespacemembers_func.html │ ├── namespacemembers_type.html │ ├── namespacemembers_vars.html │ ├── nav_f.png │ ├── nav_g.png │ ├── nav_h.png │ ├── navtree.css │ ├── navtree.js │ ├── navtreedata.js │ ├── navtreeindex0.js │ ├── navtreeindex1.js │ ├── open.png │ ├── pages.html │ ├── performace.html │ ├── resize.js │ ├── search │ ├── all_0.html │ ├── all_0.js │ ├── all_1.html │ ├── all_1.js │ ├── all_10.html │ ├── all_10.js │ ├── all_11.html │ ├── all_11.js │ ├── all_12.html │ ├── all_12.js │ ├── all_13.html │ ├── all_13.js │ ├── all_14.html │ ├── all_14.js │ ├── all_15.html │ ├── all_15.js │ ├── all_2.html │ ├── all_2.js │ ├── all_3.html │ ├── all_3.js │ ├── all_4.html │ ├── all_4.js │ ├── all_5.html │ ├── all_5.js │ ├── all_6.html │ ├── all_6.js │ ├── all_7.html │ ├── all_7.js │ ├── all_8.html │ ├── all_8.js │ ├── all_9.html │ ├── all_9.js │ ├── all_a.html │ ├── all_a.js │ ├── all_b.html │ ├── all_b.js │ ├── all_c.html │ ├── all_c.js │ ├── all_d.html │ ├── all_d.js │ ├── all_e.html │ ├── all_e.js │ ├── all_f.html │ ├── all_f.js │ ├── classes_0.html │ ├── classes_0.js │ ├── classes_1.html │ ├── classes_1.js │ ├── classes_2.html │ ├── classes_2.js │ ├── classes_3.html │ ├── classes_3.js │ ├── classes_4.html │ ├── classes_4.js │ ├── classes_5.html │ ├── classes_5.js │ ├── close.png │ ├── defines_0.html │ ├── defines_0.js │ ├── enums_0.html │ ├── enums_0.js │ ├── enums_1.html │ ├── enums_1.js │ ├── enumvalues_0.html │ ├── enumvalues_0.js │ ├── enumvalues_1.html │ ├── enumvalues_1.js │ ├── enumvalues_2.html │ ├── enumvalues_2.js │ ├── enumvalues_3.html │ ├── enumvalues_3.js │ ├── enumvalues_4.html │ ├── enumvalues_4.js │ ├── enumvalues_5.html │ ├── enumvalues_5.js │ ├── enumvalues_6.html │ ├── enumvalues_6.js │ ├── enumvalues_7.html │ ├── enumvalues_7.js │ ├── enumvalues_8.html │ ├── enumvalues_8.js │ ├── files_0.html │ ├── files_0.js │ ├── functions_0.html │ ├── functions_0.js │ ├── functions_1.html │ ├── functions_1.js │ ├── functions_10.html │ ├── functions_10.js │ ├── functions_11.html │ ├── functions_11.js │ ├── functions_12.html │ ├── functions_12.js │ ├── functions_2.html │ ├── functions_2.js │ ├── functions_3.html │ ├── functions_3.js │ ├── functions_4.html │ ├── functions_4.js │ ├── functions_5.html │ ├── functions_5.js │ ├── functions_6.html │ ├── functions_6.js │ ├── functions_7.html │ ├── functions_7.js │ ├── functions_8.html │ ├── functions_8.js │ ├── functions_9.html │ ├── functions_9.js │ ├── functions_a.html │ ├── functions_a.js │ ├── functions_b.html │ ├── functions_b.js │ ├── functions_c.html │ ├── functions_c.js │ ├── functions_d.html │ ├── functions_d.js │ ├── functions_e.html │ ├── functions_e.js │ ├── functions_f.html │ ├── functions_f.js │ ├── mag_sel.png │ ├── namespaces_0.html │ ├── namespaces_0.js │ ├── nomatches.html │ ├── pages_0.html │ ├── pages_0.js │ ├── pages_1.html │ ├── pages_1.js │ ├── pages_2.html │ ├── pages_2.js │ ├── pages_3.html │ ├── pages_3.js │ ├── pages_4.html │ ├── pages_4.js │ ├── pages_5.html │ ├── pages_5.js │ ├── pages_6.html │ ├── pages_6.js │ ├── pages_7.html │ ├── pages_7.js │ ├── pages_8.html │ ├── pages_8.js │ ├── pages_9.html │ ├── pages_9.js │ ├── search.css │ ├── search.js │ ├── search_l.png │ ├── search_m.png │ ├── search_r.png │ ├── searchdata.js │ ├── typedefs_0.html │ ├── typedefs_0.js │ ├── typedefs_1.html │ ├── typedefs_1.js │ ├── typedefs_2.html │ ├── typedefs_2.js │ ├── typedefs_3.html │ ├── typedefs_3.js │ ├── typedefs_4.html │ ├── typedefs_4.js │ ├── typedefs_5.html │ ├── typedefs_5.js │ ├── typedefs_6.html │ ├── typedefs_6.js │ ├── variables_0.html │ ├── variables_0.js │ ├── variables_1.html │ ├── variables_1.js │ ├── variables_2.html │ ├── variables_2.js │ ├── variables_3.html │ ├── variables_3.js │ ├── variables_4.html │ ├── variables_4.js │ ├── variables_5.html │ ├── variables_5.js │ ├── variables_6.html │ └── variables_6.js │ ├── splitbar.png │ ├── stack_management.html │ ├── structlua_1_1_type_i_d-members.html │ ├── structlua_1_1_type_i_d.html │ ├── structlua_1_1_type_i_d.js │ ├── sync_off.png │ ├── sync_on.png │ ├── tab_a.png │ ├── tab_b.png │ ├── tab_h.png │ ├── tab_s.png │ ├── tabs.css │ └── usage.html ├── example.doxypage ├── faq.doxypage ├── guidebook.doxypage ├── license.txt ├── lpp_logo.png ├── lpp_logo.svg ├── luapp ├── impl.cpp ├── license.txt ├── lua.hpp ├── lua_basetypes.hxx ├── lua_call.hxx ├── lua_closure.hxx ├── lua_context.hxx ├── lua_impl.hxx ├── lua_indexer.hxx ├── lua_lazy.hxx ├── lua_operations.hxx ├── lua_state.hxx ├── lua_table.hxx ├── lua_value.hxx ├── lua_valueset.hxx ├── lua_wrap.hxx └── luainc.h ├── main.doxypage ├── other.doxypage ├── readme.md └── test ├── fixtures.cpp ├── fixtures.h ├── impl.cpp ├── testArithmetics.cpp ├── testCalls.cpp ├── testComparisons.cpp ├── testConcatNondiscard.cpp ├── testConcatNormal.cpp ├── testContext.cpp ├── testContextAccessors.cpp ├── testContextFutil.cpp ├── testContextReturn.cpp ├── testErrors.cpp ├── testExtClosure.cpp ├── testGlobalState.cpp ├── testIndexing.cpp ├── testTable.cpp ├── testUserdata.cpp ├── testValobj.cpp ├── testValobjTypeConversion.cpp ├── testValset.cpp ├── testValue.cpp ├── testWrappers.cpp └── test_main.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | **/*.* 2 | 3 | !.gitignore 4 | 5 | !**/*.cpp 6 | !**/*.lua 7 | !**/*.h 8 | !**/*.hpp 9 | !**/*.hxx 10 | 11 | !doc/**/*.* 12 | !doxyfile 13 | !*.doxypage 14 | 15 | !**/license.txt 16 | 17 | !lpp_logo.svg 18 | !lpp_logo.png 19 | 20 | !readme.md -------------------------------------------------------------------------------- /doc/html/annotated_dup.js: -------------------------------------------------------------------------------- 1 | var annotated_dup = 2 | [ 3 | [ "lua", "namespacelua.html", "namespacelua" ] 4 | ]; -------------------------------------------------------------------------------- /doc/html/arrowdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/arrowdown.png -------------------------------------------------------------------------------- /doc/html/arrowright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/arrowright.png -------------------------------------------------------------------------------- /doc/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/bc_s.png -------------------------------------------------------------------------------- /doc/html/bdwn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/bdwn.png -------------------------------------------------------------------------------- /doc/html/classlua_1_1_context_1_1_registry.js: -------------------------------------------------------------------------------- 1 | var classlua_1_1_context_1_1_registry = 2 | [ 3 | [ "operator[]", "classlua_1_1_context_1_1_registry.html#a74e51d0b61550b897bb3e471a957b7f4", null ], 4 | [ "operator[]", "classlua_1_1_context_1_1_registry.html#a5af3df1c2b23cded53ae3344374058bc", null ], 5 | [ "store", "classlua_1_1_context_1_1_registry.html#a38bf61058b7975ba648f73725ccfd828", null ], 6 | [ "operator[]", "classlua_1_1_context_1_1_registry.html#a27cdc08d72b25b9dd418ba49d2db519d", null ] 7 | ]; -------------------------------------------------------------------------------- /doc/html/classlua_1_1_registry_key.js: -------------------------------------------------------------------------------- 1 | var classlua_1_1_registry_key = 2 | [ 3 | [ "RegistryKey", "classlua_1_1_registry_key.html#a7431da5efffeaf0f57cb6fe7e3e98dfd", null ], 4 | [ "operator=", "classlua_1_1_registry_key.html#afed9bd45f9dfcee4f9c5414e7747fbc0", null ], 5 | [ "kill", "classlua_1_1_registry_key.html#af38db1a1e60b1ef929f2774f2455049a", null ], 6 | [ "operator bool", "classlua_1_1_registry_key.html#ae2b1a2d00e00f238645907a7a6a54022", null ], 7 | [ "get", "classlua_1_1_registry_key.html#a7667cc0f31ffaaa3bc89734ea3446c10", null ], 8 | [ "operator==", "classlua_1_1_registry_key.html#a9ec5fd79d861de60127e7f2478d3b210", null ], 9 | [ "operator!=", "classlua_1_1_registry_key.html#ae1af667ee9e39c995c848a4b373c680e", null ], 10 | [ "noref", "classlua_1_1_registry_key.html#a873e67eaf1808cab4f47d6f10fd65191", null ] 11 | ]; -------------------------------------------------------------------------------- /doc/html/classlua_1_1_state.js: -------------------------------------------------------------------------------- 1 | var classlua_1_1_state = 2 | [ 3 | [ "State", "classlua_1_1_state.html#a790355057d12e9c1ce7643551c16fecd", null ], 4 | [ "State", "classlua_1_1_state.html#ace77423ce2e5aceca40a96c040c8fcbb", null ], 5 | [ "~State", "classlua_1_1_state.html#aaf25afd89446e3f024a22a83052a083f", null ], 6 | [ "State", "classlua_1_1_state.html#a14e7b568c69d3e9a1978962ec008138c", null ], 7 | [ "operator=", "classlua_1_1_state.html#a26a0cd160c06f614c13be53b4bc2b309", null ], 8 | [ "runFile", "classlua_1_1_state.html#a9064a9c6b0d3ad4edd7de6f4f039db43", null ], 9 | [ "runFile", "classlua_1_1_state.html#a21eb4e7e1abac508ebe79e70c60a7f38", null ], 10 | [ "runString", "classlua_1_1_state.html#aba8b923ec2ff1b88ccb75ab9cf24bf6d", null ], 11 | [ "runString", "classlua_1_1_state.html#abd8393b8690aecbcb5ec9043518dedf1", null ], 12 | [ "call", "classlua_1_1_state.html#a24c948f536af9c1ee55a4475f8f52538", null ], 13 | [ "getRawState", "classlua_1_1_state.html#a1e877ab4dec8f2a01816ab2dc0a236e1", null ] 14 | ]; -------------------------------------------------------------------------------- /doc/html/classlua_1_1_table.js: -------------------------------------------------------------------------------- 1 | var classlua_1_1_table = 2 | [ 3 | [ "Table", "classlua_1_1_table.html#a1078f056651cf2d07a96b64bcb19e91b", null ], 4 | [ "Table", "classlua_1_1_table.html#a9a43caf70c48fa795b97459620a5139a", null ], 5 | [ "Table", "classlua_1_1_table.html#ad628c3774ec1ae85923192eb81322aed", null ], 6 | [ "Table", "classlua_1_1_table.html#a25b2fa3e2b8e7ffe1dd148e148aa0cfd", null ], 7 | [ "operator=", "classlua_1_1_table.html#a92a400e54570c44d84e22160ed300ea5", null ], 8 | [ "operator Valref &", "classlua_1_1_table.html#a9188d251ec9911ef3ee49b8df9070388", null ], 9 | [ "operator const Valref &", "classlua_1_1_table.html#a48a69ade109eefdbf0613a023689201a", null ], 10 | [ "operator[]", "classlua_1_1_table.html#a7cc1890e3221999f19a6a7d7647d4e22", null ], 11 | [ "len", "classlua_1_1_table.html#a453bcbd75c958d1a882b7818a6697129", null ], 12 | [ "rawlen", "classlua_1_1_table.html#ac099725b7171aaffd3155c9fdfd11573", null ], 13 | [ "len", "classlua_1_1_table.html#aaa04d4199e20937ebff1a24c5d8c9526", null ], 14 | [ "mt", "classlua_1_1_table.html#a5304ef8e074fabae103a49463f320293", null ], 15 | [ "iterate", "classlua_1_1_table.html#a74a59c576b35fccf1fba54a285d388a3", null ], 16 | [ "array", "classlua_1_1_table.html#a5a4a30eeb0e060e041f8e52fff89ec4a", null ], 17 | [ "records", "classlua_1_1_table.html#a196b5d9f1a833e25aa4d80536f279b0a", null ], 18 | [ "operator==", "classlua_1_1_table.html#a58ff801e1c1305030508801889ee9ad2", null ], 19 | [ "operator!=", "classlua_1_1_table.html#a130d6a7d7516a5ab8495c45f0d1c227d", null ], 20 | [ "raw", "classlua_1_1_table.html#a5035d6acb9b556155dbf648a4f534fae", null ] 21 | ]; -------------------------------------------------------------------------------- /doc/html/classlua_1_1_valref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/classlua_1_1_valref.png -------------------------------------------------------------------------------- /doc/html/classlua_1_1_valset.js: -------------------------------------------------------------------------------- 1 | var classlua_1_1_valset = 2 | [ 3 | [ "value_type", "classlua_1_1_valset.html#a110ac4f055f3ef20cc6537e4a7736ac1", null ], 4 | [ "size_type", "classlua_1_1_valset.html#a49b489a408a211a90e766329c0732d7b", null ], 5 | [ "difference_type", "classlua_1_1_valset.html#acf947bbb9e09f863cc3572ff8550b183", null ], 6 | [ "iterator", "classlua_1_1_valset.html#a98494500abe29e24091fd05a2f79a3bc", null ], 7 | [ "const_iterator", "classlua_1_1_valset.html#a95953f069ed477e973b4065f3eafa397", null ], 8 | [ "reverse_iterator", "classlua_1_1_valset.html#a92b881db836646f4039adcbb73c8595f", null ], 9 | [ "const_reverse_iterator", "classlua_1_1_valset.html#a421ef78ccdc84f0f6b2b14e2732527ba", null ], 10 | [ "reference", "classlua_1_1_valset.html#ac1b4bcd9a31488015c182cd8168b8846", null ], 11 | [ "const_reference", "classlua_1_1_valset.html#a30ff2d90f90fe2f860811b3b78b8d782", null ], 12 | [ "Valset", "classlua_1_1_valset.html#a18e0854c20edff070b7014245a27bead", null ], 13 | [ "Valset", "classlua_1_1_valset.html#a4bfea6063ec75bd4a4034f636d22e2eb", null ], 14 | [ "Valset", "classlua_1_1_valset.html#a1fd322ed3e43bf5e6130e1f013dff8af", null ], 15 | [ "Valset", "classlua_1_1_valset.html#a50c641895d1fdea0379d0b2a8597989b", null ], 16 | [ "Valset", "classlua_1_1_valset.html#a866964bfb12b0a8e12f297064481cd3a", null ], 17 | [ "~Valset", "classlua_1_1_valset.html#a5bf340219444e29ef02032fa2ee82d64", null ], 18 | [ "at", "classlua_1_1_valset.html#a32d5706ca851d814679ea783c05f1bbf", null ], 19 | [ "at", "classlua_1_1_valset.html#a16b4e07f91abff79c734eee6c627ecf9", null ], 20 | [ "operator[]", "classlua_1_1_valset.html#affb098ad09cb36f71cb28c4b937b5e7e", null ], 21 | [ "operator[]", "classlua_1_1_valset.html#ad9490a1dfe9ab280829a12edea2a858b", null ], 22 | [ "size", "classlua_1_1_valset.html#a44545a936daa510da7f9fe4835f6ee84", null ], 23 | [ "empty", "classlua_1_1_valset.html#ab863df8ed6316860117a6bf26e131bbd", null ], 24 | [ "push_back", "classlua_1_1_valset.html#ae3ded15497fa5d0e5b687828bd9c0294", null ], 25 | [ "pop_back", "classlua_1_1_valset.html#a1e3058e2bda07f1627cfb6ea99fac0c5", null ], 26 | [ "success", "classlua_1_1_valset.html#a6440cff36cf48f872e240bd18ccbbbab", null ], 27 | [ "isBlocked", "classlua_1_1_valset.html#aac8b17c5409a502ad490d8384aaf827f", null ] 28 | ]; -------------------------------------------------------------------------------- /doc/html/classlua_1_1_value.js: -------------------------------------------------------------------------------- 1 | var classlua_1_1_value = 2 | [ 3 | [ "Value", "classlua_1_1_value.html#ad3eb92cbe859ad7dbdedf90aafbe8b38", null ], 4 | [ "Value", "classlua_1_1_value.html#a2c6388a51f7a4cf7f1ff2417ed956fdf", null ], 5 | [ "Value", "classlua_1_1_value.html#a0495b4fe417fc2821b1c36db92728562", null ], 6 | [ "Value", "classlua_1_1_value.html#afe65aacbeae8e3a7567f951c7ece4f02", null ], 7 | [ "~Value", "classlua_1_1_value.html#aa806aa70424170e7efcc88ac0f8dd983", null ], 8 | [ "operator=", "classlua_1_1_value.html#a6f2a326539f947e66755f9d63ac9945b", null ] 9 | ]; -------------------------------------------------------------------------------- /doc/html/classlua_1_1_value.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/classlua_1_1_value.png -------------------------------------------------------------------------------- /doc/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/closed.png -------------------------------------------------------------------------------- /doc/html/dir_163803e02a322e0a9c03c35a54b1da0b.js: -------------------------------------------------------------------------------- 1 | var dir_163803e02a322e0a9c03c35a54b1da0b = 2 | [ 3 | [ "lua.hpp", "lua_8hpp.html", "lua_8hpp" ], 4 | [ "luainc.h", "luainc_8h.html", null ] 5 | ]; -------------------------------------------------------------------------------- /doc/html/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/doc.png -------------------------------------------------------------------------------- /doc/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/doxygen.png -------------------------------------------------------------------------------- /doc/html/files.js: -------------------------------------------------------------------------------- 1 | var files = 2 | [ 3 | [ "luapp", "dir_163803e02a322e0a9c03c35a54b1da0b.html", "dir_163803e02a322e0a9c03c35a54b1da0b" ] 4 | ]; -------------------------------------------------------------------------------- /doc/html/folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/folderclosed.png -------------------------------------------------------------------------------- /doc/html/folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/folderopen.png -------------------------------------------------------------------------------- /doc/html/hierarchy.js: -------------------------------------------------------------------------------- 1 | var hierarchy = 2 | [ 3 | [ "ClosureInfo", "namespacelua.html#structlua_1_1_closure_info", null ], 4 | [ "Context", "classlua_1_1_context.html", null ], 5 | [ "Nil", "namespacelua.html#classlua_1_1_nil", null ], 6 | [ "Context::Registry", "classlua_1_1_context_1_1_registry.html", null ], 7 | [ "RegistryKey", "classlua_1_1_registry_key.html", null ], 8 | [ "Retval", "classlua_1_1_retval.html", null ], 9 | [ "State", "classlua_1_1_state.html", null ], 10 | [ "Table", "classlua_1_1_table.html", null ], 11 | [ "Temporary", "namespacelua.html#classlua_1_1_temporary", null ], 12 | [ "TypeID< T >", "structlua_1_1_type_i_d.html", null ], 13 | [ "Valobj", "namespacelua.html#classlua_1_1_valobj", null ], 14 | [ "Valref", "classlua_1_1_valref.html", [ 15 | [ "Value", "classlua_1_1_value.html", null ] 16 | ] ], 17 | [ "Valset", "classlua_1_1_valset.html", null ] 18 | ]; -------------------------------------------------------------------------------- /doc/html/lpp_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/lpp_logo.png -------------------------------------------------------------------------------- /doc/html/lua_8hpp.js: -------------------------------------------------------------------------------- 1 | var lua_8hpp = 2 | [ 3 | [ "LUAPP_USERDATA", "lua_8hpp.html#aa5b908481d9041fe334bfd1674ded658", null ], 4 | [ "LUAPP_ARG_CONVERT", "lua_8hpp.html#ad25819f0651a9390dee1d23b6c9335fa", null ], 5 | [ "LUAPP_RV_CONVERT", "lua_8hpp.html#ace2dd220e8d4481f58a9e115d9e227bc", null ], 6 | [ "LFunction", "lua_8hpp.html#a1d08ef8a7b1a72e59f411d9d18d5aacc", null ], 7 | [ "mkcf", "lua_8hpp.html#a0fb38d48b0f92faa1fb0b9cf2553ebd9", null ] 8 | ]; -------------------------------------------------------------------------------- /doc/html/namespacelua.js: -------------------------------------------------------------------------------- 1 | var namespacelua = 2 | [ 3 | [ "ClosureInfo", "namespacelua.html#structlua_1_1_closure_info", "namespacelua_structlua_1_1_closure_info_dup" ], 4 | [ "Context", "classlua_1_1_context.html", "classlua_1_1_context" ], 5 | [ "Nil", "namespacelua.html#classlua_1_1_nil", null ], 6 | [ "RegistryKey", "classlua_1_1_registry_key.html", "classlua_1_1_registry_key" ], 7 | [ "Retval", "classlua_1_1_retval.html", null ], 8 | [ "State", "classlua_1_1_state.html", "classlua_1_1_state" ], 9 | [ "Table", "classlua_1_1_table.html", "classlua_1_1_table" ], 10 | [ "Temporary", "namespacelua.html#classlua_1_1_temporary", null ], 11 | [ "TypeID", "structlua_1_1_type_i_d.html", "structlua_1_1_type_i_d" ], 12 | [ "Valobj", "namespacelua.html#classlua_1_1_valobj", null ], 13 | [ "Valref", "classlua_1_1_valref.html", "classlua_1_1_valref" ], 14 | [ "Valset", "classlua_1_1_valset.html", "classlua_1_1_valset" ], 15 | [ "Value", "classlua_1_1_value.html", "classlua_1_1_value" ] 16 | ]; -------------------------------------------------------------------------------- /doc/html/namespacelua_structlua_1_1_closure_info_dup.js: -------------------------------------------------------------------------------- 1 | var namespacelua_structlua_1_1_closure_info_dup = 2 | [ 3 | [ "nUpvalues", "namespacelua.html#a90ec8b42e6384aae829564afe25f6509", null ], 4 | [ "nParameters", "namespacelua.html#a70dada50816e99086d756ecf375e5ac8", null ], 5 | [ "variadic", "namespacelua.html#a60ec08c2807aa833254f3f84dd139ea0", null ] 6 | ]; -------------------------------------------------------------------------------- /doc/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/nav_f.png -------------------------------------------------------------------------------- /doc/html/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/nav_g.png -------------------------------------------------------------------------------- /doc/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/nav_h.png -------------------------------------------------------------------------------- /doc/html/navtree.css: -------------------------------------------------------------------------------- 1 | #nav-tree .children_ul { 2 | margin:0; 3 | padding:4px; 4 | } 5 | 6 | #nav-tree ul { 7 | list-style:none outside none; 8 | margin:0px; 9 | padding:0px; 10 | } 11 | 12 | #nav-tree li { 13 | white-space:nowrap; 14 | margin:0px; 15 | padding:0px; 16 | } 17 | 18 | #nav-tree .plus { 19 | margin:0px; 20 | } 21 | 22 | #nav-tree .selected { 23 | background-image: url('tab_a.png'); 24 | background-repeat:repeat-x; 25 | color: #fff; 26 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 27 | } 28 | 29 | #nav-tree img { 30 | margin:0px; 31 | padding:0px; 32 | border:0px; 33 | vertical-align: middle; 34 | } 35 | 36 | #nav-tree a { 37 | text-decoration:none; 38 | padding:0px; 39 | margin:0px; 40 | outline:none; 41 | } 42 | 43 | #nav-tree .label { 44 | margin:0px; 45 | padding:0px; 46 | font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; 47 | } 48 | 49 | #nav-tree .label a { 50 | padding:2px; 51 | } 52 | 53 | #nav-tree .selected a { 54 | text-decoration:none; 55 | color:#fff; 56 | } 57 | 58 | #nav-tree .children_ul { 59 | margin:0px; 60 | padding:0px; 61 | } 62 | 63 | #nav-tree .item { 64 | margin:0px; 65 | padding:0px; 66 | } 67 | 68 | #nav-tree { 69 | padding: 0px 0px; 70 | background-color: #FAFAFF; 71 | font-size:14px; 72 | overflow:auto; 73 | } 74 | 75 | #doc-content { 76 | overflow:auto; 77 | display:block; 78 | padding:0px; 79 | margin:0px; 80 | -webkit-overflow-scrolling : touch; /* iOS 5+ */ 81 | } 82 | 83 | #side-nav { 84 | padding:0 6px 0 0; 85 | margin: 0px; 86 | display:block; 87 | position: absolute; 88 | left: 0px; 89 | width: 250px; 90 | } 91 | 92 | .ui-resizable .ui-resizable-handle { 93 | display:block; 94 | } 95 | 96 | .ui-resizable-e { 97 | background:url("splitbar.png") repeat scroll right center transparent; 98 | cursor:e-resize; 99 | height:100%; 100 | right:0; 101 | top:0; 102 | width:6px; 103 | } 104 | 105 | .ui-resizable-handle { 106 | display:none; 107 | font-size:0.1px; 108 | position:absolute; 109 | z-index:1; 110 | } 111 | 112 | #nav-tree-contents { 113 | margin: 6px 0px 0px 0px; 114 | } 115 | 116 | #nav-tree { 117 | background-image:url('nav_h.png'); 118 | background-repeat:repeat-x; 119 | background-color: #F9FAFC; 120 | -webkit-overflow-scrolling : touch; /* iOS 5+ */ 121 | } 122 | 123 | #nav-sync { 124 | position:absolute; 125 | top:5px; 126 | right:24px; 127 | z-index:0; 128 | } 129 | 130 | #nav-sync img { 131 | opacity:0.3; 132 | } 133 | 134 | #nav-sync img:hover { 135 | opacity:0.9; 136 | } 137 | 138 | @media print 139 | { 140 | #nav-tree { display: none; } 141 | div.ui-resizable-handle { display: none; position: relative; } 142 | } 143 | 144 | -------------------------------------------------------------------------------- /doc/html/navtreeindex1.js: -------------------------------------------------------------------------------- 1 | var NAVTREEINDEX1 = 2 | { 3 | "namespacemembers_enum.html":[13,4], 4 | "namespacemembers_func.html":[13,1], 5 | "namespacemembers_type.html":[13,3], 6 | "namespacemembers_vars.html":[13,2], 7 | "pages.html":[], 8 | "performace.html":[7], 9 | "stack_management.html":[4], 10 | "stack_management.html#stack_management_function":[4,0], 11 | "stack_management.html#stack_management_function_anchor":[4,0,1], 12 | "stack_management.html#stack_management_function_valref":[4,0,0], 13 | "structlua_1_1_type_i_d.html":[14,0,0,8], 14 | "structlua_1_1_type_i_d.html#af86d8b33ba6a2c7d97b9143f60c977ef":[14,0,0,8,0], 15 | "usage.html":[5], 16 | "usage.html#Documentation":[5,2], 17 | "usage.html#usage_basic":[5,0], 18 | "usage.html#usage_tests":[5,1] 19 | }; 20 | -------------------------------------------------------------------------------- /doc/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/open.png -------------------------------------------------------------------------------- /doc/html/resize.js: -------------------------------------------------------------------------------- 1 | var cookie_namespace = 'doxygen'; 2 | var sidenav,navtree,content,header; 3 | 4 | function readCookie(cookie) 5 | { 6 | var myCookie = cookie_namespace+"_"+cookie+"="; 7 | if (document.cookie) 8 | { 9 | var index = document.cookie.indexOf(myCookie); 10 | if (index != -1) 11 | { 12 | var valStart = index + myCookie.length; 13 | var valEnd = document.cookie.indexOf(";", valStart); 14 | if (valEnd == -1) 15 | { 16 | valEnd = document.cookie.length; 17 | } 18 | var val = document.cookie.substring(valStart, valEnd); 19 | return val; 20 | } 21 | } 22 | return 0; 23 | } 24 | 25 | function writeCookie(cookie, val, expiration) 26 | { 27 | if (val==undefined) return; 28 | if (expiration == null) 29 | { 30 | var date = new Date(); 31 | date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week 32 | expiration = date.toGMTString(); 33 | } 34 | document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; 35 | } 36 | 37 | function resizeWidth() 38 | { 39 | var windowWidth = $(window).width() + "px"; 40 | var sidenavWidth = $(sidenav).outerWidth(); 41 | content.css({marginLeft:parseInt(sidenavWidth)+"px"}); 42 | writeCookie('width',sidenavWidth, null); 43 | } 44 | 45 | function restoreWidth(navWidth) 46 | { 47 | var windowWidth = $(window).width() + "px"; 48 | content.css({marginLeft:parseInt(navWidth)+6+"px"}); 49 | sidenav.css({width:navWidth + "px"}); 50 | } 51 | 52 | function resizeHeight() 53 | { 54 | var headerHeight = header.outerHeight(); 55 | var footerHeight = footer.outerHeight(); 56 | var windowHeight = $(window).height() - headerHeight - footerHeight; 57 | content.css({height:windowHeight + "px"}); 58 | navtree.css({height:windowHeight + "px"}); 59 | sidenav.css({height:windowHeight + "px",top: headerHeight+"px"}); 60 | } 61 | 62 | function initResizable() 63 | { 64 | header = $("#top"); 65 | sidenav = $("#side-nav"); 66 | content = $("#doc-content"); 67 | navtree = $("#nav-tree"); 68 | footer = $("#nav-path"); 69 | $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); 70 | $(window).resize(function() { resizeHeight(); }); 71 | var width = readCookie('width'); 72 | if (width) { restoreWidth(width); } else { resizeWidth(); } 73 | resizeHeight(); 74 | var url = location.href; 75 | var i=url.indexOf("#"); 76 | if (i>=0) window.location.hash=url.substr(i); 77 | var _preventDefault = function(evt) { evt.preventDefault(); }; 78 | $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); 79 | $(document).bind('touchmove',function(e){ 80 | var device = navigator.userAgent.toLowerCase(); 81 | var ios = device.match(/(iphone|ipod|ipad)/); 82 | if (ios) { 83 | try { 84 | var target = e.target; 85 | while (target) { 86 | if ($(target).css('-webkit-overflow-scrolling')=='touch') return; 87 | target = target.parentNode; 88 | } 89 | e.preventDefault(); 90 | } catch(err) { 91 | e.preventDefault(); 92 | } 93 | } 94 | }); 95 | } 96 | 97 | 98 | -------------------------------------------------------------------------------- /doc/html/search/all_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['any',['Any',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1aed36a1ef76a59ee3f15180e0441188ad',1,'lua']]], 4 | ['args',['args',['../classlua_1_1_context.html#ab737cde142498f1a45ee2a2430b5e980',1,'lua::Context']]], 5 | ['array',['array',['../classlua_1_1_table.html#a5a4a30eeb0e060e041f8e52fff89ec4a',1,'lua::Table']]], 6 | ['at',['at',['../classlua_1_1_valset.html#a32d5706ca851d814679ea783c05f1bbf',1,'lua::Valset::at(size_t index)'],['../classlua_1_1_valset.html#a16b4e07f91abff79c734eee6c627ecf9',1,'lua::Valset::at(size_t index) const ']]], 7 | ['automatic_20stack_20management',['Automatic stack management',['../stack_management.html',1,'']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/all_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['band',['band',['../classlua_1_1_valref.html#a8b40d489d9ab099f3b55ed1329658235',1,'lua::Valref']]], 4 | ['basic_20concepts',['Basic concepts',['../basic_concepts.html',1,'']]], 5 | ['bneg',['bneg',['../classlua_1_1_valref.html#ad6be1df6fd7badb7e74407f186bf87e5',1,'lua::Valref']]], 6 | ['boolean',['Boolean',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a27226c864bac7454a8504f8edb15d95b',1,'lua']]], 7 | ['bor',['bor',['../classlua_1_1_valref.html#a11f2459a975b30073ae5ea3883cd205c',1,'lua::Valref']]], 8 | ['bxor',['bxor',['../classlua_1_1_valref.html#a4c81c054c39c583241da020e33dbb7de',1,'lua::Valref']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /doc/html/search/all_10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_10.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['shl',['shl',['../classlua_1_1_valref.html#a905b72707a6b29357a4bd00118d16f39',1,'lua::Valref']]], 4 | ['shr',['shr',['../classlua_1_1_valref.html#aef62ac2dcb7691d57389f88192821560',1,'lua::Valref']]], 5 | ['size',['size',['../classlua_1_1_valset.html#a44545a936daa510da7f9fe4835f6ee84',1,'lua::Valset']]], 6 | ['size_5ftype',['size_type',['../classlua_1_1_valset.html#a49b489a408a211a90e766329c0732d7b',1,'lua::Valset']]], 7 | ['state',['State',['../classlua_1_1_state.html',1,'lua']]], 8 | ['state',['State',['../classlua_1_1_state.html#a790355057d12e9c1ce7643551c16fecd',1,'lua::State::State()'],['../classlua_1_1_state.html#ace77423ce2e5aceca40a96c040c8fcbb',1,'lua::State::State(void *(__cdecl customAllocatorFunction)(void *ud, void *ptr, size_t oldSize, size_t newSize), void *ud=nullptr)'],['../classlua_1_1_state.html#a14e7b568c69d3e9a1978962ec008138c',1,'lua::State::State(const State &)=delete']]], 9 | ['store',['store',['../classlua_1_1_context_1_1_registry.html#a38bf61058b7975ba648f73725ccfd828',1,'lua::Context::Registry']]], 10 | ['string',['String',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a27118326006d3829667a400ad23d5d98',1,'lua']]], 11 | ['success',['success',['../classlua_1_1_valset.html#a6440cff36cf48f872e240bd18ccbbbab',1,'lua::Valset']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /doc/html/search/all_11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_11.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['table',['Table',['../classlua_1_1_table.html',1,'lua']]], 4 | ['table',['Table',['../classlua_1_1_table.html#a1078f056651cf2d07a96b64bcb19e91b',1,'lua::Table::Table(const Valref &val)'],['../classlua_1_1_table.html#a9a43caf70c48fa795b97459620a5139a',1,'lua::Table::Table(Table &&)'],['../classlua_1_1_table.html#ad628c3774ec1ae85923192eb81322aed',1,'lua::Table::Table(Context &context, size_t arrSize=0, size_t recSize=0) noexcept'],['../classlua_1_1_table.html#a25b2fa3e2b8e7ffe1dd148e148aa0cfd',1,'lua::Table::Table(Temporary src)'],['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a51c45b795d5d18a3e4e0c37e8b20a141',1,'lua::Table()']]], 5 | ['temporary',['Temporary',['../namespacelua.html#classlua_1_1_temporary',1,'lua']]], 6 | ['thread',['Thread',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1ad97477d6d8a838ead9348185bb5b6742',1,'lua']]], 7 | ['to',['to',['../classlua_1_1_valref.html#a20257d4fcd278bfff897d4ffd37eb4b3',1,'lua::Valref::to() const noexcept'],['../classlua_1_1_valref.html#aacf0a845b73c46e93dd2999ce1114941',1,'lua::Valref::to(const T &backupValue) const noexcept']]], 8 | ['type',['type',['../classlua_1_1_valref.html#a21d255a0d1603f31217e1ef715eb6e2c',1,'lua::Valref']]], 9 | ['typeid',['typeID',['../structlua_1_1_type_i_d.html#af86d8b33ba6a2c7d97b9143f60c977ef',1,'lua::TypeID']]], 10 | ['typeid',['TypeID',['../structlua_1_1_type_i_d.html',1,'lua']]] 11 | ]; 12 | -------------------------------------------------------------------------------- /doc/html/search/all_12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_12.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['upvalue',['upvalue',['../classlua_1_1_valref.html#a711acc2794f1b61f251fc62e71588fde',1,'lua::Valref']]], 4 | ['upvalues',['upvalues',['../classlua_1_1_context.html#a8efd73c5a9d7207e7ced545bac6404fd',1,'lua::Context']]], 5 | ['using_20the_20library',['Using the library',['../usage.html',1,'']]], 6 | ['userdata',['UserData',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a12b4595813f48775b089bc59c0f97152',1,'lua']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/all_13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_13.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['valobj',['Valobj',['../namespacelua.html#classlua_1_1_valobj',1,'lua']]], 4 | ['valref',['Valref',['../classlua_1_1_valref.html',1,'lua']]], 5 | ['valref',['Valref',['../classlua_1_1_valref.html#ada6cdcb1f106fc3514bed30b5dace5dc',1,'lua::Valref']]], 6 | ['valset',['Valset',['../classlua_1_1_valset.html',1,'lua']]], 7 | ['valset',['Valset',['../classlua_1_1_valset.html#a18e0854c20edff070b7014245a27bead',1,'lua::Valset::Valset(Temporary src)'],['../classlua_1_1_valset.html#a4bfea6063ec75bd4a4034f636d22e2eb',1,'lua::Valset::Valset(const Valref &src)'],['../classlua_1_1_valset.html#a1fd322ed3e43bf5e6130e1f013dff8af',1,'lua::Valset::Valset(Valset &&)'],['../classlua_1_1_valset.html#a50c641895d1fdea0379d0b2a8597989b',1,'lua::Valset::Valset(Context &s) noexcept'],['../classlua_1_1_valset.html#a866964bfb12b0a8e12f297064481cd3a',1,'lua::Valset::Valset(const Valset &src) noexcept']]], 8 | ['value',['Value',['../classlua_1_1_value.html',1,'lua']]], 9 | ['value',['Value',['../classlua_1_1_value.html#ad3eb92cbe859ad7dbdedf90aafbe8b38',1,'lua::Value::Value(Valref src)'],['../classlua_1_1_value.html#a2c6388a51f7a4cf7f1ff2417ed956fdf',1,'lua::Value::Value(Valobj src, Context &context)'],['../classlua_1_1_value.html#a0495b4fe417fc2821b1c36db92728562',1,'lua::Value::Value(Temporary src)'],['../classlua_1_1_value.html#afe65aacbeae8e3a7567f951c7ece4f02',1,'lua::Value::Value(Value &&)']]], 10 | ['value_5ftype',['value_type',['../classlua_1_1_valset.html#a110ac4f055f3ef20cc6537e4a7736ac1',1,'lua::Valset']]], 11 | ['valuetype',['ValueType',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1',1,'lua']]], 12 | ['variadic',['variadic',['../namespacelua.html#a60ec08c2807aa833254f3f84dd139ea0',1,'lua::ClosureInfo']]], 13 | ['vwrap',['vwrap',['../classlua_1_1_context.html#abe48daa5eee3659d8a4735176ff773ba',1,'lua::Context::vwrap(ReturnValueType(*fn)(ArgTypes...)) noexcept'],['../classlua_1_1_context.html#a51f45045f66d09e81e14614e5ec900e0',1,'lua::Context::vwrap(ReturnValueType(Host::*fn)(ArgTypes...)) noexcept']]] 14 | ]; 15 | -------------------------------------------------------------------------------- /doc/html/search/all_14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_14.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['where',['where',['../classlua_1_1_context.html#a050b4504c23733ec3b5055f3149e6338',1,'lua::Context']]], 4 | ['wrap',['wrap',['../classlua_1_1_context.html#affbac55a8c123d2b7bc7856a0b9004f5',1,'lua::Context::wrap(ReturnValueType(*fn)(ArgTypes...)) noexcept'],['../classlua_1_1_context.html#ae477d6fbf9e48497a758c9e8d6ecca34',1,'lua::Context::wrap(ReturnValueType(Host::*fn)(ArgTypes...)) noexcept']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/all_15.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_15.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['_7estate',['~State',['../classlua_1_1_state.html#aaf25afd89446e3f024a22a83052a083f',1,'lua::State']]], 4 | ['_7evalset',['~Valset',['../classlua_1_1_valset.html#a5bf340219444e29ef02032fa2ee82d64',1,'lua::Valset']]], 5 | ['_7evalue',['~Value',['../classlua_1_1_value.html#aa806aa70424170e7efcc88ac0f8dd983',1,'lua::Value']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/all_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['c_5ffunction',['C_Function',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1aff10d9a027bda249f40521bde7d661c9',1,'lua']]], 4 | ['call',['call',['../classlua_1_1_valref.html#aff07ac069089ea0c36676998e45895cf',1,'lua::Valref::call()'],['../classlua_1_1_state.html#a24c948f536af9c1ee55a4475f8f52538',1,'lua::State::call()']]], 5 | ['cast',['cast',['../classlua_1_1_valref.html#a5c6a91e9b5e988939974679033c337dc',1,'lua::Valref']]], 6 | ['cfunction',['CFunction',['../namespacelua.html#a83cfad85b3f10b60e47cb19f58c9c902',1,'lua']]], 7 | ['changelog',['Changelog',['../changelog.html',1,'']]], 8 | ['checkargs',['checkArgs',['../classlua_1_1_context.html#adeb565210f0a3397c698654eac98b286',1,'lua::Context']]], 9 | ['chunk',['chunk',['../classlua_1_1_context.html#a007b86314fbbbe2fd83f1c4419636116',1,'lua::Context::chunk(const char *chunkText) noexcept'],['../classlua_1_1_context.html#ad718fbd2e368462ada91de2de5558faf',1,'lua::Context::chunk(const std::string &chunkText) noexcept']]], 10 | ['closure',['closure',['../classlua_1_1_context.html#adcd9f971fedc47659d88a08f81f4432a',1,'lua::Context::closure(CFunction fn, UpvalueTypes &&...upvalues_) noexcept'],['../classlua_1_1_context.html#adcd9f971fedc47659d88a08f81f4432a',1,'lua::Context::closure(CFunction fn, UpvalueTypes &&...upvalues_) noexcept']]], 11 | ['closureinfo',['ClosureInfo',['../namespacelua.html#structlua_1_1_closure_info',1,'lua']]], 12 | ['compatibility',['Compatibility',['../compatibility.html',1,'']]], 13 | ['configuring_20the_20library',['Configuring the library',['../configuring.html',1,'']]], 14 | ['const_5fiterator',['const_iterator',['../classlua_1_1_valset.html#a95953f069ed477e973b4065f3eafa397',1,'lua::Valset']]], 15 | ['const_5freference',['const_reference',['../classlua_1_1_valset.html#a30ff2d90f90fe2f860811b3b78b8d782',1,'lua::Valset']]], 16 | ['const_5freverse_5fiterator',['const_reverse_iterator',['../classlua_1_1_valset.html#a421ef78ccdc84f0f6b2b14e2732527ba',1,'lua::Valset']]], 17 | ['context',['Context',['../classlua_1_1_context.html',1,'lua']]], 18 | ['context',['Context',['../classlua_1_1_context.html#a9222a505f45572196be36703766c45ba',1,'lua::Context::Context(lua_State *s, const InitializeExplicitly &) noexcept'],['../classlua_1_1_context.html#adf8e34ce6983d05efc19cf91fe9299c3',1,'lua::Context::Context(const Context &)=delete']]] 19 | ]; 20 | -------------------------------------------------------------------------------- /doc/html/search/all_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['deprecated_20list',['Deprecated List',['../deprecated.html',1,'']]], 4 | ['difference_5ftype',['difference_type',['../classlua_1_1_valset.html#acf947bbb9e09f863cc3572ff8550b183',1,'lua::Valset']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/all_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['empty',['empty',['../classlua_1_1_valset.html#ab863df8ed6316860117a6bf26e131bbd',1,'lua::Valset']]], 4 | ['error',['error',['../classlua_1_1_context.html#a6044f6ad9800a56d3836c44f62f81d72',1,'lua::Context::error(Valobj msg)'],['../classlua_1_1_context.html#a552415c1b6be0875849383a074414c74',1,'lua::Context::error()']]], 5 | ['external_20links',['External links',['../external_links.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/all_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['faq',['FAQ',['../faq.html',1,'']]], 4 | ['function',['Function',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a86408593c34af77fdd90df932f8b5261',1,'lua']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/all_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['gccollect',['gcCollect',['../classlua_1_1_context.html#ae88fc189278ec8c07d6db58a8b654cc1',1,'lua::Context']]], 4 | ['gcisrunning',['gcIsRunning',['../classlua_1_1_context.html#a2f70b8fc1544d9742eb3fb791604ccb8',1,'lua::Context']]], 5 | ['gcresume',['gcResume',['../classlua_1_1_context.html#a4b321afad4ef630eb352313d1bc159e6',1,'lua::Context']]], 6 | ['gcstop',['gcStop',['../classlua_1_1_context.html#a47961526171e40334fbb5d6536d21557',1,'lua::Context']]], 7 | ['get',['get',['../classlua_1_1_registry_key.html#a7667cc0f31ffaaa3bc89734ea3446c10',1,'lua::RegistryKey']]], 8 | ['getclosureinfo',['getClosureInfo',['../classlua_1_1_valref.html#a77b4054681a93c72c186c95c539099e3',1,'lua::Valref::getClosureInfo() const noexcept'],['../classlua_1_1_valref.html#aef1de93c74ced28dae92494f0e55ff69',1,'lua::Valref::getClosureInfo() const noexcept']]], 9 | ['getrawstate',['getRawState',['../classlua_1_1_state.html#a1e877ab4dec8f2a01816ab2dc0a236e1',1,'lua::State']]], 10 | ['gettop',['getTop',['../classlua_1_1_context.html#a90e0b86441c7197620537a05e39074b7',1,'lua::Context']]], 11 | ['getupvalues',['getUpvalues',['../classlua_1_1_valref.html#a1a383864265e524133f4732ff397f199',1,'lua::Valref']]], 12 | ['getversion',['getVersion',['../classlua_1_1_context.html#aec69150be98028e88acd730bc71e84f6',1,'lua::Context']]], 13 | ['global',['global',['../classlua_1_1_context.html#a7c0195836dcfe548f10ec4db184cde4b',1,'lua::Context']]] 14 | ]; 15 | -------------------------------------------------------------------------------- /doc/html/search/all_7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['idiv',['idiv',['../classlua_1_1_valref.html#a929cd108b1b4adb3aea5901d1169617c',1,'lua::Valref']]], 4 | ['initializeexplicitly',['InitializeExplicitly',['../classlua_1_1_context.html#a151465980a8c92423d23f64002a35fed',1,'lua::Context']]], 5 | ['is',['is',['../classlua_1_1_valref.html#a7420a5e28322c9a7a3348d35b46fbe66',1,'lua::Valref']]], 6 | ['isblocked',['isBlocked',['../classlua_1_1_valset.html#aac8b17c5409a502ad490d8384aaf827f',1,'lua::Valset']]], 7 | ['isinteger',['isInteger',['../classlua_1_1_valref.html#a610dff1f7c219411e1da805e62a338da',1,'lua::Valref']]], 8 | ['iterate',['iterate',['../classlua_1_1_table.html#a74a59c576b35fccf1fba54a285d388a3',1,'lua::Table']]], 9 | ['iterator',['iterator',['../classlua_1_1_valset.html#a98494500abe29e24091fd05a2f79a3bc',1,'lua::Valset']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /doc/html/search/all_8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['kill',['kill',['../classlua_1_1_registry_key.html#af38db1a1e60b1ef929f2774f2455049a',1,'lua::RegistryKey']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/all_9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lua_20api_2b_2b_20library',['Lua API++ library',['../index.html',1,'']]], 4 | ['len',['len',['../classlua_1_1_valref.html#a453bcbd75c958d1a882b7818a6697129',1,'lua::Valref::len() const noexcept'],['../classlua_1_1_valref.html#aaa04d4199e20937ebff1a24c5d8c9526',1,'lua::Valref::len() const noexcept'],['../classlua_1_1_table.html#a453bcbd75c958d1a882b7818a6697129',1,'lua::Table::len() const noexcept'],['../classlua_1_1_table.html#aaa04d4199e20937ebff1a24c5d8c9526',1,'lua::Table::len() const noexcept']]], 5 | ['lfunction',['LFunction',['../namespacelua.html#a1d08ef8a7b1a72e59f411d9d18d5aacc',1,'lua']]], 6 | ['lightuserdata',['LightUserData',['../namespacelua.html#a1d01cc7a767f2112221a5088441572d3',1,'lua::LightUserData()'],['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a6e4c577b4d0b098de1e834d2ccc96928',1,'lua::LightUserdata()']]], 7 | ['linked',['linked',['../classlua_1_1_valref.html#ad908b321a1aa09b2939d416fe201af6e',1,'lua::Valref']]], 8 | ['load',['load',['../classlua_1_1_context.html#ada90f88e0ab44d5da1d0c3335137649e',1,'lua::Context::load(const char *fileName) noexcept'],['../classlua_1_1_context.html#afe2e8b68d7e1fdaa0de519bc0d9eec27',1,'lua::Context::load(const std::string &fileName) noexcept']]], 9 | ['lua',['lua',['../namespacelua.html',1,'']]], 10 | ['lua_2ehpp',['lua.hpp',['../lua_8hpp.html',1,'']]], 11 | ['luainc_2eh',['luainc.h',['../luainc_8h.html',1,'']]], 12 | ['luapp_5farg_5fconvert',['LUAPP_ARG_CONVERT',['../lua_8hpp.html#ad25819f0651a9390dee1d23b6c9335fa',1,'lua.hpp']]], 13 | ['luapp_5frv_5fconvert',['LUAPP_RV_CONVERT',['../lua_8hpp.html#ace2dd220e8d4481f58a9e115d9e227bc',1,'lua.hpp']]], 14 | ['luapp_5fuserdata',['LUAPP_USERDATA',['../lua_8hpp.html#aa5b908481d9041fe334bfd1674ded658',1,'lua.hpp']]], 15 | ['license',['License',['../main_license.html',1,'']]] 16 | ]; 17 | -------------------------------------------------------------------------------- /doc/html/search/all_a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['mkcf',['mkcf',['../namespacelua.html#a0fb38d48b0f92faa1fb0b9cf2553ebd9',1,'lua']]], 4 | ['motivational_20example',['Motivational example',['../motivational_example.html',1,'']]], 5 | ['mt',['mt',['../classlua_1_1_valref.html#a5304ef8e074fabae103a49463f320293',1,'lua::Valref::mt()'],['../classlua_1_1_context.html#a1e702413d170d8cdc00ae9374d7664c7',1,'lua::Context::mt()'],['../classlua_1_1_table.html#a5304ef8e074fabae103a49463f320293',1,'lua::Table::mt()']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/all_b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['nil',['Nil',['../namespacelua.html#classlua_1_1_nil',1,'lua']]], 4 | ['nil',['nil',['../namespacelua.html#a14799155d9b9fb3fd424dd59a5e6bc57',1,'lua::nil()'],['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a4da8b7eb2c3f2007cf8238334401ef51',1,'lua::Nil()']]], 5 | ['none',['None',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a6adf97f83acf6453d4a6a4b1070f3754',1,'lua']]], 6 | ['noref',['noref',['../classlua_1_1_registry_key.html#a873e67eaf1808cab4f47d6f10fd65191',1,'lua::RegistryKey']]], 7 | ['nparameters',['nParameters',['../namespacelua.html#a70dada50816e99086d756ecf375e5ac8',1,'lua::ClosureInfo']]], 8 | ['number',['Number',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1ab2ee912b91d69b435159c7c3f6df7f5f',1,'lua']]], 9 | ['nupvalues',['nUpvalues',['../namespacelua.html#a90ec8b42e6384aae829564afe25f6509',1,'lua::ClosureInfo']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /doc/html/search/all_c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['pcall',['pcall',['../classlua_1_1_valref.html#aebc5f529dcd0f685fdc12908530ba513',1,'lua::Valref']]], 4 | ['performance',['Performance',['../performace.html',1,'']]], 5 | ['pop_5fback',['pop_back',['../classlua_1_1_valset.html#a1e3058e2bda07f1627cfb6ea99fac0c5',1,'lua::Valset']]], 6 | ['push_5fback',['push_back',['../classlua_1_1_valset.html#ae3ded15497fa5d0e5b687828bd9c0294',1,'lua::Valset']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/all_e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['querymemorytotal',['queryMemoryTotal',['../classlua_1_1_context.html#a6a685733942b9f0702f83a9012d813ce',1,'lua::Context']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/all_f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['raw',['raw',['../classlua_1_1_table.html#a5035d6acb9b556155dbf648a4f534fae',1,'lua::Table']]], 4 | ['rawlen',['rawlen',['../classlua_1_1_valref.html#ac099725b7171aaffd3155c9fdfd11573',1,'lua::Valref::rawlen()'],['../classlua_1_1_table.html#ac099725b7171aaffd3155c9fdfd11573',1,'lua::Table::rawlen()']]], 5 | ['records',['records',['../classlua_1_1_table.html#a196b5d9f1a833e25aa4d80536f279b0a',1,'lua::Table']]], 6 | ['reference',['reference',['../classlua_1_1_valset.html#ac1b4bcd9a31488015c182cd8168b8846',1,'lua::Valset']]], 7 | ['registry',['registry',['../classlua_1_1_context.html#a36086215a6fa5c75c34674924dbc5aa3',1,'lua::Context']]], 8 | ['registry',['Registry',['../classlua_1_1_context_1_1_registry.html',1,'lua::Context']]], 9 | ['registrykey',['RegistryKey',['../classlua_1_1_registry_key.html',1,'lua']]], 10 | ['registrykey',['RegistryKey',['../classlua_1_1_registry_key.html#a7431da5efffeaf0f57cb6fe7e3e98dfd',1,'lua::RegistryKey']]], 11 | ['requireargs',['requireArgs',['../classlua_1_1_context.html#a27057da9b45c3e29517f4bfc2a28eb8a',1,'lua::Context']]], 12 | ['ret',['ret',['../classlua_1_1_context.html#a3c8e9a2e4b05f93984c482ce00f2781a',1,'lua::Context::ret(ValueTypes &&...values)'],['../classlua_1_1_context.html#a62bdcc3a90cb81b1c2f665157b524a34',1,'lua::Context::ret(const Valset &vs) noexcept']]], 13 | ['retval',['Retval',['../classlua_1_1_retval.html',1,'lua']]], 14 | ['reverse_5fiterator',['reverse_iterator',['../classlua_1_1_valset.html#a92b881db836646f4039adcbb73c8595f',1,'lua::Valset']]], 15 | ['runfile',['runFile',['../classlua_1_1_context.html#a8b8d15fd41b75f4494cbceecb9083f67',1,'lua::Context::runFile(const char *fileName)'],['../classlua_1_1_context.html#a9bf1b10b891443e9ddb57ef3991ee865',1,'lua::Context::runFile(const std::string &fileName)'],['../classlua_1_1_state.html#a9064a9c6b0d3ad4edd7de6f4f039db43',1,'lua::State::runFile(const char *filename)'],['../classlua_1_1_state.html#a21eb4e7e1abac508ebe79e70c60a7f38',1,'lua::State::runFile(const std::string &filename)']]], 16 | ['runstring',['runString',['../classlua_1_1_context.html#a42b42356f4fca591730e9dd7fd65131d',1,'lua::Context::runString(const char *command)'],['../classlua_1_1_context.html#ae37ddb7a330966eb918d5789766fd02c',1,'lua::Context::runString(const std::string &command)'],['../classlua_1_1_state.html#aba8b923ec2ff1b88ccb75ab9cf24bf6d',1,'lua::State::runString(const char *expression)'],['../classlua_1_1_state.html#abd8393b8690aecbcb5ec9043518dedf1',1,'lua::State::runString(const std::string &expression)']]] 17 | ]; 18 | -------------------------------------------------------------------------------- /doc/html/search/classes_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['closureinfo',['ClosureInfo',['../namespacelua.html#structlua_1_1_closure_info',1,'lua']]], 4 | ['context',['Context',['../classlua_1_1_context.html',1,'lua']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/classes_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['nil',['Nil',['../namespacelua.html#classlua_1_1_nil',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['registry',['Registry',['../classlua_1_1_context_1_1_registry.html',1,'lua::Context']]], 4 | ['registrykey',['RegistryKey',['../classlua_1_1_registry_key.html',1,'lua']]], 5 | ['retval',['Retval',['../classlua_1_1_retval.html',1,'lua']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/classes_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['state',['State',['../classlua_1_1_state.html',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['table',['Table',['../classlua_1_1_table.html',1,'lua']]], 4 | ['temporary',['Temporary',['../namespacelua.html#classlua_1_1_temporary',1,'lua']]], 5 | ['typeid',['TypeID',['../structlua_1_1_type_i_d.html',1,'lua']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/classes_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['valobj',['Valobj',['../namespacelua.html#classlua_1_1_valobj',1,'lua']]], 4 | ['valref',['Valref',['../classlua_1_1_valref.html',1,'lua']]], 5 | ['valset',['Valset',['../classlua_1_1_valset.html',1,'lua']]], 6 | ['value',['Value',['../classlua_1_1_value.html',1,'lua']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/search/close.png -------------------------------------------------------------------------------- /doc/html/search/defines_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/defines_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['luapp_5farg_5fconvert',['LUAPP_ARG_CONVERT',['../lua_8hpp.html#ad25819f0651a9390dee1d23b6c9335fa',1,'lua.hpp']]], 4 | ['luapp_5frv_5fconvert',['LUAPP_RV_CONVERT',['../lua_8hpp.html#ace2dd220e8d4481f58a9e115d9e227bc',1,'lua.hpp']]], 5 | ['luapp_5fuserdata',['LUAPP_USERDATA',['../lua_8hpp.html#aa5b908481d9041fe334bfd1674ded658',1,'lua.hpp']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/enums_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enums_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['initializeexplicitly',['InitializeExplicitly',['../classlua_1_1_context.html#a151465980a8c92423d23f64002a35fed',1,'lua::Context']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enums_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enums_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['valuetype',['ValueType',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['any',['Any',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1aed36a1ef76a59ee3f15180e0441188ad',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['boolean',['Boolean',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a27226c864bac7454a8504f8edb15d95b',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['c_5ffunction',['C_Function',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1aff10d9a027bda249f40521bde7d661c9',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['function',['Function',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a86408593c34af77fdd90df932f8b5261',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lightuserdata',['LightUserdata',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a6e4c577b4d0b098de1e834d2ccc96928',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['nil',['Nil',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a4da8b7eb2c3f2007cf8238334401ef51',1,'lua']]], 4 | ['none',['None',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a6adf97f83acf6453d4a6a4b1070f3754',1,'lua']]], 5 | ['number',['Number',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1ab2ee912b91d69b435159c7c3f6df7f5f',1,'lua']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['string',['String',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a27118326006d3829667a400ad23d5d98',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['table',['Table',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a51c45b795d5d18a3e4e0c37e8b20a141',1,'lua']]], 4 | ['thread',['Thread',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1ad97477d6d8a838ead9348185bb5b6742',1,'lua']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['userdata',['UserData',['../namespacelua.html#ad9971b6ef33e02ba2c75d19c1d2518a1a12b4595813f48775b089bc59c0f97152',1,'lua']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/files_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/files_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lua_2ehpp',['lua.hpp',['../lua_8hpp.html',1,'']]], 4 | ['luainc_2eh',['luainc.h',['../luainc_8h.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['array',['array',['../classlua_1_1_table.html#a5a4a30eeb0e060e041f8e52fff89ec4a',1,'lua::Table']]], 4 | ['at',['at',['../classlua_1_1_valset.html#a32d5706ca851d814679ea783c05f1bbf',1,'lua::Valset::at(size_t index)'],['../classlua_1_1_valset.html#a16b4e07f91abff79c734eee6c627ecf9',1,'lua::Valset::at(size_t index) const ']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['band',['band',['../classlua_1_1_valref.html#a8b40d489d9ab099f3b55ed1329658235',1,'lua::Valref']]], 4 | ['bneg',['bneg',['../classlua_1_1_valref.html#ad6be1df6fd7badb7e74407f186bf87e5',1,'lua::Valref']]], 5 | ['bor',['bor',['../classlua_1_1_valref.html#a11f2459a975b30073ae5ea3883cd205c',1,'lua::Valref']]], 6 | ['bxor',['bxor',['../classlua_1_1_valref.html#a4c81c054c39c583241da020e33dbb7de',1,'lua::Valref']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/functions_10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_10.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['valref',['Valref',['../classlua_1_1_valref.html#ada6cdcb1f106fc3514bed30b5dace5dc',1,'lua::Valref']]], 4 | ['valset',['Valset',['../classlua_1_1_valset.html#a18e0854c20edff070b7014245a27bead',1,'lua::Valset::Valset(Temporary src)'],['../classlua_1_1_valset.html#a4bfea6063ec75bd4a4034f636d22e2eb',1,'lua::Valset::Valset(const Valref &src)'],['../classlua_1_1_valset.html#a1fd322ed3e43bf5e6130e1f013dff8af',1,'lua::Valset::Valset(Valset &&)'],['../classlua_1_1_valset.html#a50c641895d1fdea0379d0b2a8597989b',1,'lua::Valset::Valset(Context &s) noexcept'],['../classlua_1_1_valset.html#a866964bfb12b0a8e12f297064481cd3a',1,'lua::Valset::Valset(const Valset &src) noexcept']]], 5 | ['value',['Value',['../classlua_1_1_value.html#ad3eb92cbe859ad7dbdedf90aafbe8b38',1,'lua::Value::Value(Valref src)'],['../classlua_1_1_value.html#a2c6388a51f7a4cf7f1ff2417ed956fdf',1,'lua::Value::Value(Valobj src, Context &context)'],['../classlua_1_1_value.html#a0495b4fe417fc2821b1c36db92728562',1,'lua::Value::Value(Temporary src)'],['../classlua_1_1_value.html#afe65aacbeae8e3a7567f951c7ece4f02',1,'lua::Value::Value(Value &&)']]], 6 | ['vwrap',['vwrap',['../classlua_1_1_context.html#abe48daa5eee3659d8a4735176ff773ba',1,'lua::Context::vwrap(ReturnValueType(*fn)(ArgTypes...)) noexcept'],['../classlua_1_1_context.html#a51f45045f66d09e81e14614e5ec900e0',1,'lua::Context::vwrap(ReturnValueType(Host::*fn)(ArgTypes...)) noexcept']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/functions_11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_11.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['where',['where',['../classlua_1_1_context.html#a050b4504c23733ec3b5055f3149e6338',1,'lua::Context']]], 4 | ['wrap',['wrap',['../classlua_1_1_context.html#affbac55a8c123d2b7bc7856a0b9004f5',1,'lua::Context::wrap(ReturnValueType(*fn)(ArgTypes...)) noexcept'],['../classlua_1_1_context.html#ae477d6fbf9e48497a758c9e8d6ecca34',1,'lua::Context::wrap(ReturnValueType(Host::*fn)(ArgTypes...)) noexcept']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_12.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['_7estate',['~State',['../classlua_1_1_state.html#aaf25afd89446e3f024a22a83052a083f',1,'lua::State']]], 4 | ['_7evalset',['~Valset',['../classlua_1_1_valset.html#a5bf340219444e29ef02032fa2ee82d64',1,'lua::Valset']]], 5 | ['_7evalue',['~Value',['../classlua_1_1_value.html#aa806aa70424170e7efcc88ac0f8dd983',1,'lua::Value']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/functions_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['call',['call',['../classlua_1_1_valref.html#aff07ac069089ea0c36676998e45895cf',1,'lua::Valref::call()'],['../classlua_1_1_state.html#a24c948f536af9c1ee55a4475f8f52538',1,'lua::State::call()']]], 4 | ['cast',['cast',['../classlua_1_1_valref.html#a5c6a91e9b5e988939974679033c337dc',1,'lua::Valref']]], 5 | ['checkargs',['checkArgs',['../classlua_1_1_context.html#adeb565210f0a3397c698654eac98b286',1,'lua::Context']]], 6 | ['chunk',['chunk',['../classlua_1_1_context.html#a007b86314fbbbe2fd83f1c4419636116',1,'lua::Context::chunk(const char *chunkText) noexcept'],['../classlua_1_1_context.html#ad718fbd2e368462ada91de2de5558faf',1,'lua::Context::chunk(const std::string &chunkText) noexcept']]], 7 | ['closure',['closure',['../classlua_1_1_context.html#adcd9f971fedc47659d88a08f81f4432a',1,'lua::Context::closure(CFunction fn, UpvalueTypes &&...upvalues_) noexcept'],['../classlua_1_1_context.html#adcd9f971fedc47659d88a08f81f4432a',1,'lua::Context::closure(CFunction fn, UpvalueTypes &&...upvalues_) noexcept']]], 8 | ['context',['Context',['../classlua_1_1_context.html#a9222a505f45572196be36703766c45ba',1,'lua::Context::Context(lua_State *s, const InitializeExplicitly &) noexcept'],['../classlua_1_1_context.html#adf8e34ce6983d05efc19cf91fe9299c3',1,'lua::Context::Context(const Context &)=delete']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /doc/html/search/functions_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['empty',['empty',['../classlua_1_1_valset.html#ab863df8ed6316860117a6bf26e131bbd',1,'lua::Valset']]], 4 | ['error',['error',['../classlua_1_1_context.html#a6044f6ad9800a56d3836c44f62f81d72',1,'lua::Context::error(Valobj msg)'],['../classlua_1_1_context.html#a552415c1b6be0875849383a074414c74',1,'lua::Context::error()']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['gccollect',['gcCollect',['../classlua_1_1_context.html#ae88fc189278ec8c07d6db58a8b654cc1',1,'lua::Context']]], 4 | ['gcisrunning',['gcIsRunning',['../classlua_1_1_context.html#a2f70b8fc1544d9742eb3fb791604ccb8',1,'lua::Context']]], 5 | ['gcresume',['gcResume',['../classlua_1_1_context.html#a4b321afad4ef630eb352313d1bc159e6',1,'lua::Context']]], 6 | ['gcstop',['gcStop',['../classlua_1_1_context.html#a47961526171e40334fbb5d6536d21557',1,'lua::Context']]], 7 | ['get',['get',['../classlua_1_1_registry_key.html#a7667cc0f31ffaaa3bc89734ea3446c10',1,'lua::RegistryKey']]], 8 | ['getclosureinfo',['getClosureInfo',['../classlua_1_1_valref.html#a77b4054681a93c72c186c95c539099e3',1,'lua::Valref::getClosureInfo() const noexcept'],['../classlua_1_1_valref.html#aef1de93c74ced28dae92494f0e55ff69',1,'lua::Valref::getClosureInfo() const noexcept']]], 9 | ['getrawstate',['getRawState',['../classlua_1_1_state.html#a1e877ab4dec8f2a01816ab2dc0a236e1',1,'lua::State']]], 10 | ['gettop',['getTop',['../classlua_1_1_context.html#a90e0b86441c7197620537a05e39074b7',1,'lua::Context']]], 11 | ['getupvalues',['getUpvalues',['../classlua_1_1_valref.html#a1a383864265e524133f4732ff397f199',1,'lua::Valref']]], 12 | ['getversion',['getVersion',['../classlua_1_1_context.html#aec69150be98028e88acd730bc71e84f6',1,'lua::Context']]] 13 | ]; 14 | -------------------------------------------------------------------------------- /doc/html/search/functions_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['idiv',['idiv',['../classlua_1_1_valref.html#a929cd108b1b4adb3aea5901d1169617c',1,'lua::Valref']]], 4 | ['is',['is',['../classlua_1_1_valref.html#a7420a5e28322c9a7a3348d35b46fbe66',1,'lua::Valref']]], 5 | ['isblocked',['isBlocked',['../classlua_1_1_valset.html#aac8b17c5409a502ad490d8384aaf827f',1,'lua::Valset']]], 6 | ['isinteger',['isInteger',['../classlua_1_1_valref.html#a610dff1f7c219411e1da805e62a338da',1,'lua::Valref']]], 7 | ['iterate',['iterate',['../classlua_1_1_table.html#a74a59c576b35fccf1fba54a285d388a3',1,'lua::Table']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/functions_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['kill',['kill',['../classlua_1_1_registry_key.html#af38db1a1e60b1ef929f2774f2455049a',1,'lua::RegistryKey']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/functions_7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['len',['len',['../classlua_1_1_valref.html#a453bcbd75c958d1a882b7818a6697129',1,'lua::Valref::len() const noexcept'],['../classlua_1_1_valref.html#aaa04d4199e20937ebff1a24c5d8c9526',1,'lua::Valref::len() const noexcept'],['../classlua_1_1_table.html#a453bcbd75c958d1a882b7818a6697129',1,'lua::Table::len() const noexcept'],['../classlua_1_1_table.html#aaa04d4199e20937ebff1a24c5d8c9526',1,'lua::Table::len() const noexcept']]], 4 | ['linked',['linked',['../classlua_1_1_valref.html#ad908b321a1aa09b2939d416fe201af6e',1,'lua::Valref']]], 5 | ['load',['load',['../classlua_1_1_context.html#ada90f88e0ab44d5da1d0c3335137649e',1,'lua::Context::load(const char *fileName) noexcept'],['../classlua_1_1_context.html#afe2e8b68d7e1fdaa0de519bc0d9eec27',1,'lua::Context::load(const std::string &fileName) noexcept']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/functions_8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['mkcf',['mkcf',['../namespacelua.html#a0fb38d48b0f92faa1fb0b9cf2553ebd9',1,'lua']]], 4 | ['mt',['mt',['../classlua_1_1_valref.html#a5304ef8e074fabae103a49463f320293',1,'lua::Valref::mt()'],['../classlua_1_1_context.html#a1e702413d170d8cdc00ae9374d7664c7',1,'lua::Context::mt()'],['../classlua_1_1_table.html#a5304ef8e074fabae103a49463f320293',1,'lua::Table::mt()']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['pcall',['pcall',['../classlua_1_1_valref.html#aebc5f529dcd0f685fdc12908530ba513',1,'lua::Valref']]], 4 | ['pop_5fback',['pop_back',['../classlua_1_1_valset.html#a1e3058e2bda07f1627cfb6ea99fac0c5',1,'lua::Valset']]], 5 | ['push_5fback',['push_back',['../classlua_1_1_valset.html#ae3ded15497fa5d0e5b687828bd9c0294',1,'lua::Valset']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/functions_b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['querymemorytotal',['queryMemoryTotal',['../classlua_1_1_context.html#a6a685733942b9f0702f83a9012d813ce',1,'lua::Context']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/functions_c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['rawlen',['rawlen',['../classlua_1_1_valref.html#ac099725b7171aaffd3155c9fdfd11573',1,'lua::Valref::rawlen()'],['../classlua_1_1_table.html#ac099725b7171aaffd3155c9fdfd11573',1,'lua::Table::rawlen()']]], 4 | ['records',['records',['../classlua_1_1_table.html#a196b5d9f1a833e25aa4d80536f279b0a',1,'lua::Table']]], 5 | ['registrykey',['RegistryKey',['../classlua_1_1_registry_key.html#a7431da5efffeaf0f57cb6fe7e3e98dfd',1,'lua::RegistryKey']]], 6 | ['requireargs',['requireArgs',['../classlua_1_1_context.html#a27057da9b45c3e29517f4bfc2a28eb8a',1,'lua::Context']]], 7 | ['ret',['ret',['../classlua_1_1_context.html#a3c8e9a2e4b05f93984c482ce00f2781a',1,'lua::Context::ret(ValueTypes &&...values)'],['../classlua_1_1_context.html#a62bdcc3a90cb81b1c2f665157b524a34',1,'lua::Context::ret(const Valset &vs) noexcept']]], 8 | ['runfile',['runFile',['../classlua_1_1_context.html#a8b8d15fd41b75f4494cbceecb9083f67',1,'lua::Context::runFile(const char *fileName)'],['../classlua_1_1_context.html#a9bf1b10b891443e9ddb57ef3991ee865',1,'lua::Context::runFile(const std::string &fileName)'],['../classlua_1_1_state.html#a9064a9c6b0d3ad4edd7de6f4f039db43',1,'lua::State::runFile(const char *filename)'],['../classlua_1_1_state.html#a21eb4e7e1abac508ebe79e70c60a7f38',1,'lua::State::runFile(const std::string &filename)']]], 9 | ['runstring',['runString',['../classlua_1_1_context.html#a42b42356f4fca591730e9dd7fd65131d',1,'lua::Context::runString(const char *command)'],['../classlua_1_1_context.html#ae37ddb7a330966eb918d5789766fd02c',1,'lua::Context::runString(const std::string &command)'],['../classlua_1_1_state.html#aba8b923ec2ff1b88ccb75ab9cf24bf6d',1,'lua::State::runString(const char *expression)'],['../classlua_1_1_state.html#abd8393b8690aecbcb5ec9043518dedf1',1,'lua::State::runString(const std::string &expression)']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /doc/html/search/functions_d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['shl',['shl',['../classlua_1_1_valref.html#a905b72707a6b29357a4bd00118d16f39',1,'lua::Valref']]], 4 | ['shr',['shr',['../classlua_1_1_valref.html#aef62ac2dcb7691d57389f88192821560',1,'lua::Valref']]], 5 | ['size',['size',['../classlua_1_1_valset.html#a44545a936daa510da7f9fe4835f6ee84',1,'lua::Valset']]], 6 | ['state',['State',['../classlua_1_1_state.html#a790355057d12e9c1ce7643551c16fecd',1,'lua::State::State()'],['../classlua_1_1_state.html#ace77423ce2e5aceca40a96c040c8fcbb',1,'lua::State::State(void *(__cdecl customAllocatorFunction)(void *ud, void *ptr, size_t oldSize, size_t newSize), void *ud=nullptr)'],['../classlua_1_1_state.html#a14e7b568c69d3e9a1978962ec008138c',1,'lua::State::State(const State &)=delete']]], 7 | ['store',['store',['../classlua_1_1_context_1_1_registry.html#a38bf61058b7975ba648f73725ccfd828',1,'lua::Context::Registry']]], 8 | ['success',['success',['../classlua_1_1_valset.html#a6440cff36cf48f872e240bd18ccbbbab',1,'lua::Valset']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /doc/html/search/functions_e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['table',['Table',['../classlua_1_1_table.html#a1078f056651cf2d07a96b64bcb19e91b',1,'lua::Table::Table(const Valref &val)'],['../classlua_1_1_table.html#a9a43caf70c48fa795b97459620a5139a',1,'lua::Table::Table(Table &&)'],['../classlua_1_1_table.html#ad628c3774ec1ae85923192eb81322aed',1,'lua::Table::Table(Context &context, size_t arrSize=0, size_t recSize=0) noexcept'],['../classlua_1_1_table.html#a25b2fa3e2b8e7ffe1dd148e148aa0cfd',1,'lua::Table::Table(Temporary src)']]], 4 | ['to',['to',['../classlua_1_1_valref.html#a20257d4fcd278bfff897d4ffd37eb4b3',1,'lua::Valref::to() const noexcept'],['../classlua_1_1_valref.html#aacf0a845b73c46e93dd2999ce1114941',1,'lua::Valref::to(const T &backupValue) const noexcept']]], 5 | ['type',['type',['../classlua_1_1_valref.html#a21d255a0d1603f31217e1ef715eb6e2c',1,'lua::Valref']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/functions_f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['upvalue',['upvalue',['../classlua_1_1_valref.html#a711acc2794f1b61f251fc62e71588fde',1,'lua::Valref']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/mag_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/search/mag_sel.png -------------------------------------------------------------------------------- /doc/html/search/namespaces_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/namespaces_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lua',['lua',['../namespacelua.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/nomatches.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
No Matches
10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /doc/html/search/pages_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['automatic_20stack_20management',['Automatic stack management',['../stack_management.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/pages_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['basic_20concepts',['Basic concepts',['../basic_concepts.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/pages_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['changelog',['Changelog',['../changelog.html',1,'']]], 4 | ['compatibility',['Compatibility',['../compatibility.html',1,'']]], 5 | ['configuring_20the_20library',['Configuring the library',['../configuring.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/pages_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['deprecated_20list',['Deprecated List',['../deprecated.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/pages_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['external_20links',['External links',['../external_links.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/pages_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['faq',['FAQ',['../faq.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/pages_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lua_20api_2b_2b_20library',['Lua API++ library',['../index.html',1,'']]], 4 | ['license',['License',['../main_license.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/pages_7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['motivational_20example',['Motivational example',['../motivational_example.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/pages_8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['performance',['Performance',['../performace.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/pages_9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['using_20the_20library',['Using the library',['../usage.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/search_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/search/search_l.png -------------------------------------------------------------------------------- /doc/html/search/search_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/search/search_m.png -------------------------------------------------------------------------------- /doc/html/search/search_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/search/search_r.png -------------------------------------------------------------------------------- /doc/html/search/searchdata.js: -------------------------------------------------------------------------------- 1 | var indexSectionsWithContent = 2 | { 3 | 0: "abcdefgiklmnopqrstuvw~", 4 | 1: "cnrstv", 5 | 2: "l", 6 | 3: "l", 7 | 4: "abcegiklmopqrstuvw~", 8 | 5: "agnrtuv", 9 | 6: "cdilrsv", 10 | 7: "iv", 11 | 8: "abcflnstu", 12 | 9: "l", 13 | 10: "abcdeflmpu" 14 | }; 15 | 16 | var indexSectionNames = 17 | { 18 | 0: "all", 19 | 1: "classes", 20 | 2: "namespaces", 21 | 3: "files", 22 | 4: "functions", 23 | 5: "variables", 24 | 6: "typedefs", 25 | 7: "enums", 26 | 8: "enumvalues", 27 | 9: "defines", 28 | 10: "pages" 29 | }; 30 | 31 | var indexSectionLabels = 32 | { 33 | 0: "All", 34 | 1: "Classes", 35 | 2: "Namespaces", 36 | 3: "Files", 37 | 4: "Functions", 38 | 5: "Variables", 39 | 6: "Typedefs", 40 | 7: "Enumerations", 41 | 8: "Enumerator", 42 | 9: "Macros", 43 | 10: "Pages" 44 | }; 45 | 46 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['cfunction',['CFunction',['../namespacelua.html#a83cfad85b3f10b60e47cb19f58c9c902',1,'lua']]], 4 | ['const_5fiterator',['const_iterator',['../classlua_1_1_valset.html#a95953f069ed477e973b4065f3eafa397',1,'lua::Valset']]], 5 | ['const_5freference',['const_reference',['../classlua_1_1_valset.html#a30ff2d90f90fe2f860811b3b78b8d782',1,'lua::Valset']]], 6 | ['const_5freverse_5fiterator',['const_reverse_iterator',['../classlua_1_1_valset.html#a421ef78ccdc84f0f6b2b14e2732527ba',1,'lua::Valset']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['difference_5ftype',['difference_type',['../classlua_1_1_valset.html#acf947bbb9e09f863cc3572ff8550b183',1,'lua::Valset']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['iterator',['iterator',['../classlua_1_1_valset.html#a98494500abe29e24091fd05a2f79a3bc',1,'lua::Valset']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lfunction',['LFunction',['../namespacelua.html#a1d08ef8a7b1a72e59f411d9d18d5aacc',1,'lua']]], 4 | ['lightuserdata',['LightUserData',['../namespacelua.html#a1d01cc7a767f2112221a5088441572d3',1,'lua']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['reference',['reference',['../classlua_1_1_valset.html#ac1b4bcd9a31488015c182cd8168b8846',1,'lua::Valset']]], 4 | ['reverse_5fiterator',['reverse_iterator',['../classlua_1_1_valset.html#a92b881db836646f4039adcbb73c8595f',1,'lua::Valset']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['size_5ftype',['size_type',['../classlua_1_1_valset.html#a49b489a408a211a90e766329c0732d7b',1,'lua::Valset']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['value_5ftype',['value_type',['../classlua_1_1_valset.html#a110ac4f055f3ef20cc6537e4a7736ac1',1,'lua::Valset']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['args',['args',['../classlua_1_1_context.html#ab737cde142498f1a45ee2a2430b5e980',1,'lua::Context']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['global',['global',['../classlua_1_1_context.html#a7c0195836dcfe548f10ec4db184cde4b',1,'lua::Context']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['nil',['nil',['../namespacelua.html#a14799155d9b9fb3fd424dd59a5e6bc57',1,'lua']]], 4 | ['noref',['noref',['../classlua_1_1_registry_key.html#a873e67eaf1808cab4f47d6f10fd65191',1,'lua::RegistryKey']]], 5 | ['nparameters',['nParameters',['../namespacelua.html#a70dada50816e99086d756ecf375e5ac8',1,'lua::ClosureInfo']]], 6 | ['nupvalues',['nUpvalues',['../namespacelua.html#a90ec8b42e6384aae829564afe25f6509',1,'lua::ClosureInfo']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/variables_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['raw',['raw',['../classlua_1_1_table.html#a5035d6acb9b556155dbf648a4f534fae',1,'lua::Table']]], 4 | ['registry',['registry',['../classlua_1_1_context.html#a36086215a6fa5c75c34674924dbc5aa3',1,'lua::Context']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/variables_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['typeid',['typeID',['../structlua_1_1_type_i_d.html#af86d8b33ba6a2c7d97b9143f60c977ef',1,'lua::TypeID']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['upvalues',['upvalues',['../classlua_1_1_context.html#a8efd73c5a9d7207e7ced545bac6404fd',1,'lua::Context']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['variadic',['variadic',['../namespacelua.html#a60ec08c2807aa833254f3f84dd139ea0',1,'lua::ClosureInfo']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/splitbar.png -------------------------------------------------------------------------------- /doc/html/structlua_1_1_type_i_d.js: -------------------------------------------------------------------------------- 1 | var structlua_1_1_type_i_d = 2 | [ 3 | [ "typeID", "structlua_1_1_type_i_d.html#af86d8b33ba6a2c7d97b9143f60c977ef", null ] 4 | ]; -------------------------------------------------------------------------------- /doc/html/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/sync_off.png -------------------------------------------------------------------------------- /doc/html/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/sync_on.png -------------------------------------------------------------------------------- /doc/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/tab_a.png -------------------------------------------------------------------------------- /doc/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/tab_b.png -------------------------------------------------------------------------------- /doc/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/tab_h.png -------------------------------------------------------------------------------- /doc/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/doc/html/tab_s.png -------------------------------------------------------------------------------- /doc/html/tabs.css: -------------------------------------------------------------------------------- 1 | .tabs, .tabs2, .tabs3 { 2 | background-image: url('tab_b.png'); 3 | width: 100%; 4 | z-index: 101; 5 | font-size: 13px; 6 | font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; 7 | } 8 | 9 | .tabs2 { 10 | font-size: 10px; 11 | } 12 | .tabs3 { 13 | font-size: 9px; 14 | } 15 | 16 | .tablist { 17 | margin: 0; 18 | padding: 0; 19 | display: table; 20 | } 21 | 22 | .tablist li { 23 | float: left; 24 | display: table-cell; 25 | background-image: url('tab_b.png'); 26 | line-height: 36px; 27 | list-style: none; 28 | } 29 | 30 | .tablist a { 31 | display: block; 32 | padding: 0 20px; 33 | font-weight: bold; 34 | background-image:url('tab_s.png'); 35 | background-repeat:no-repeat; 36 | background-position:right; 37 | color: #283A5D; 38 | text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); 39 | text-decoration: none; 40 | outline: none; 41 | } 42 | 43 | .tabs3 .tablist a { 44 | padding: 0 10px; 45 | } 46 | 47 | .tablist a:hover { 48 | background-image: url('tab_h.png'); 49 | background-repeat:repeat-x; 50 | color: #fff; 51 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 52 | text-decoration: none; 53 | } 54 | 55 | .tablist li.current a { 56 | background-image: url('tab_a.png'); 57 | background-repeat:repeat-x; 58 | color: #fff; 59 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 60 | } 61 | -------------------------------------------------------------------------------- /faq.doxypage: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of Lua API++ library (https://github.com/OldFisher/lua-api-pp) 3 | * distributed under MIT License (http://opensource.org/licenses/MIT). 4 | * See license.txt for details. 5 | * (c) 2014 OldFisher 6 | */ 7 | 8 | /** 9 | * @page faq FAQ 10 | * 11 | * @tableofcontents 12 | * 13 | * @section faq_compat Compatibility 14 | * @subsection faq_compat_versions Which versions of Lua does this library support? 15 | * Versions @ref compatibility_5_1 "5.1", @ref compatibility_5_2 "5.2" and @ref compatibility_5_3 "5.3". 16 | * 17 | * @subsection faq_compat_luajit Is this library compatible with LuaJIT? 18 | * Yes, all tests pass with LuaJIT in @ref compatibility_5_1 "5.1" compatibility mode. 19 | * 20 | * @section faq_programming Programming 21 | * @subsection faq_programming_polymorphic_userdata Is it possible to use inherited classes with virtual functions as userdata? 22 | * Yes, just @ref LUAPP_USERDATA "assign" same string ID for base and derived classes. 23 | * In methods @ref lua::Valref::cast "cast" @b self parameter to base class. 24 | * Use base class methods for automatic wrapping. 25 | * 26 | * @section faq_known_problems Technical issues 27 | * @subsection faq_known_problems_sjlj I compiled the motivational example and it crashes on out-of-bound array access. 28 | * Using SJLJ mechanism for exceptions may create conflicts with Lua error reporting mechanism because it uses SJLJ too. 29 | * It happens on chained exception-error-exception conversions (most probable point 30 | * being State::call and State::run functions that encounter exception-raising error in 31 | * Lua-API++ powered functions). 32 | * How to avoid that problem: 33 | * @li use compiler with another exception mechanism (SJLJ isn't that good anyway); 34 | * @li make sure that pieces of Lua code executed with @ref lua::State::runString(const char*) "runString" / @ref lua::State::runFile(const char*) "runFile" 35 | * have simple error-free skeleton that protects calls to main code. 36 | * 37 | * 38 | * 39 | * 40 | * 41 | * 42 | * 43 | * 44 | * 45 | * 46 | * 47 | * 48 | * 49 | * 50 | * 51 | * 52 | */ 53 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | Lua API++ library (https://github.com/OldFisher/lua-api-pp) 2 | 3 | Copyright (c) 2014 OldFisher 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | 23 | The MIT License (MIT) http://opensource.org/licenses/MIT -------------------------------------------------------------------------------- /lpp_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OldFisher/lua-api-pp/c51a238acc60a92daf6613f92461567028afc94b/lpp_logo.png -------------------------------------------------------------------------------- /luapp/license.txt: -------------------------------------------------------------------------------- 1 | Lua API++ library (https://github.com/OldFisher/lua-api-pp) 2 | 3 | Copyright (c) 2014 OldFisher 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | 23 | The MIT License (MIT) http://opensource.org/licenses/MIT -------------------------------------------------------------------------------- /luapp/lua_call.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of Lua API++ library (https://github.com/OldFisher/lua-api-pp) 3 | * distributed under MIT License (http://opensource.org/licenses/MIT). 4 | * See license.txt for details. 5 | * (c) 2014 OldFisher 6 | */ 7 | 8 | #ifndef LUA_CALL_HPP_INCLUDED 9 | #define LUA_CALL_HPP_INCLUDED 10 | 11 | 12 | namespace lua { 13 | 14 | class Context; 15 | class Value; 16 | 17 | //! @cond 18 | 19 | namespace _ { 20 | 21 | 22 | class lazyCallUtils final { 23 | template friend class ::lua::_::lazyCall; 24 | private: 25 | static void call(lua_State* L, size_t oldtop, int rvAmount) noexcept; 26 | }; 27 | 28 | //! Lazy policy for function calls 29 | template 30 | class lazyCall final: public lazyPolicyNondiscardable{ 31 | 32 | template friend class ::lua::_::Lazy; 33 | friend class ::lua::Valset; 34 | 35 | public: 36 | lazyCall(lazyCall&&) noexcept = default; 37 | 38 | private: 39 | 40 | lazyCall(Context& S, Function&& f, Args&& ... args) noexcept: 41 | funclazy(S, std::move(f)), 42 | arglazy(S, std::forward(args)...) 43 | { 44 | } 45 | 46 | lazyCall(Context& S, const Function& f, Args&& ... args) noexcept: 47 | funclazy(S, f), 48 | arglazy(S, std::forward(args)...) 49 | { 50 | } 51 | 52 | void push(Context& S, int rvAmount = -1); 53 | 54 | void pushSingle(Context& S) 55 | { 56 | push(S, 1); 57 | } 58 | 59 | void onDestroy(Context& S) 60 | { 61 | if(!Pushed) 62 | push(S, 0); 63 | } 64 | 65 | void moveout() noexcept 66 | { 67 | funclazy.moveout(); 68 | arglazy.moveout(); 69 | } 70 | 71 | // data 72 | Lazy> funclazy; 73 | Lazy> arglazy; 74 | }; 75 | 76 | 77 | 78 | 79 | class lazyPCallUtils final { 80 | template friend class ::lua::_::lazyPCall; 81 | private: 82 | static bool pcall(lua_State* L, size_t oldtop, int rvAmount) noexcept; 83 | }; 84 | 85 | //! Lazy policy for protected function calls 86 | template 87 | class lazyPCall final: public lazyPolicyNondiscardable{ 88 | 89 | template friend class ::lua::_::Lazy; 90 | friend class ::lua::Valset; 91 | 92 | public: 93 | lazyPCall(lazyPCall&&) noexcept = default; 94 | 95 | private: 96 | 97 | lazyPCall(Context& S, Function&& f, Args&& ... args) noexcept: 98 | funclazy(S, std::move(f)), 99 | arglazy(S, std::forward(args)...) 100 | { 101 | } 102 | 103 | lazyPCall(Context& S, const Function& f, Args&& ... args) noexcept: 104 | funclazy(S, f), 105 | arglazy(S, std::forward(args)...) 106 | { 107 | } 108 | 109 | bool push(Context& S, int rvAmount = -1); 110 | 111 | bool pushSingle(Context& S) 112 | { 113 | return push(S, 1); 114 | } 115 | 116 | void onDestroy(Context& S) 117 | { 118 | if(!Pushed) 119 | push(S, 0); 120 | } 121 | 122 | void moveout() noexcept 123 | { 124 | funclazy.moveout(); 125 | arglazy.moveout(); 126 | } 127 | 128 | // data 129 | Lazy> funclazy; 130 | Lazy> arglazy; 131 | }; 132 | 133 | } 134 | 135 | //! @endcond 136 | 137 | } 138 | 139 | #endif // LUA_CALL_HPP_INCLUDED 140 | -------------------------------------------------------------------------------- /luapp/lua_closure.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of Lua API++ library (https://github.com/OldFisher/lua-api-pp) 3 | * distributed under MIT License (http://opensource.org/licenses/MIT). 4 | * See license.txt for details. 5 | * (c) 2014 OldFisher 6 | */ 7 | 8 | #ifndef LUA_CLOSURE_HPP_INCLUDED 9 | #define LUA_CLOSURE_HPP_INCLUDED 10 | 11 | 12 | 13 | namespace lua { 14 | //! @cond 15 | namespace _ { 16 | 17 | class lazyClosureUtils final{ 18 | template friend class lazyClosure; 19 | private: 20 | static void makeClosure(lua_State* L, CFunction fn, size_t uvnum) noexcept; 21 | }; 22 | 23 | //! Lazy policy for closures. 24 | template 25 | class lazyClosure final: public lazyPolicy { 26 | template friend class _::Lazy; 27 | 28 | public: 29 | lazyClosure(lazyClosure&&) noexcept = default; 30 | 31 | private: 32 | lazyClosure(Context& S, CFunction fn, UVTypes&& ... upvalues) noexcept: 33 | Fn(fn), 34 | uvlazy(S, std::forward(upvalues)...) 35 | { 36 | } 37 | 38 | void push(Context& S); 39 | void pushSingle(Context& S) 40 | { 41 | push(S); 42 | } 43 | 44 | void onDestroy(Context&) 45 | { 46 | uvlazy.onDestroy(); 47 | } 48 | 49 | void moveout() noexcept 50 | { 51 | uvlazy.moveout(); 52 | } 53 | 54 | // data 55 | const CFunction Fn; 56 | Lazy> uvlazy; 57 | }; 58 | 59 | 60 | 61 | //! Lazy policy for chunks 62 | class lazyChunk final: public lazyPolicy { 63 | template friend class _::Lazy; 64 | 65 | public: 66 | lazyChunk(lazyChunk&& src) noexcept: 67 | ChunkText(src.ChunkText) 68 | { 69 | } 70 | 71 | private: 72 | lazyChunk(Context&, const char* chunkText): 73 | ChunkText(chunkText) 74 | { 75 | } 76 | 77 | void push(Context& S); 78 | 79 | void pushSingle(Context& S) 80 | { 81 | push(S); 82 | } 83 | 84 | // data 85 | const char* const ChunkText; 86 | }; 87 | 88 | 89 | 90 | //! Lazy policy for file chunks 91 | class lazyFileChunk final: public lazyPolicy { 92 | template friend class _::Lazy; 93 | 94 | public: 95 | lazyFileChunk(lazyFileChunk&& src) noexcept: 96 | FileName(src.FileName) 97 | { 98 | } 99 | 100 | private: 101 | lazyFileChunk(Context&, const char* fileName): 102 | FileName(fileName) 103 | { 104 | } 105 | 106 | void push(Context& S); 107 | void pushSingle(Context& S) 108 | { 109 | push(S); 110 | } 111 | 112 | // data 113 | const char* const FileName; 114 | }; 115 | 116 | } 117 | //! @endcond 118 | } 119 | 120 | 121 | #endif // LUA_CLOSURE_HPP_INCLUDED 122 | -------------------------------------------------------------------------------- /luapp/lua_state.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of Lua API++ library (https://github.com/OldFisher/lua-api-pp) 3 | * distributed under MIT License (http://opensource.org/licenses/MIT). 4 | * See license.txt for details. 5 | * (c) 2014 OldFisher 6 | */ 7 | 8 | #ifndef LUA_GSTATE_HPP_INCLUDED 9 | #define LUA_GSTATE_HPP_INCLUDED 10 | 11 | 12 | 13 | namespace lua { 14 | 15 | //! @brief Lua state object. 16 | //! @details State object represents a Lua state. Besides state creation and destruction, 17 | //! it can be used for setting up the environment by executing Lua files, 18 | //! C functions or strings. 19 | class State final { 20 | 21 | public: 22 | 23 | //! @name Life cycle 24 | //! @{ 25 | 26 | //! @brief Default constructor. 27 | State(); 28 | 29 | //! @brief Custom allocator constructor. 30 | explicit State(void* (__cdecl customAllocatorFunction) (void* ud, void* ptr, size_t oldSize, size_t newSize), void* ud = nullptr); 31 | 32 | //! @brief Destructor frees the associated Lua state. 33 | //! @details All raw pointers to lua_State are invalidated after object destruction. 34 | ~State() noexcept; 35 | 36 | //! @details State copying is prohibited. 37 | State(const State&) = delete; 38 | 39 | //! @details Assignment to State is prohibited 40 | State& operator = (const State&) = delete; 41 | //! @} 42 | 43 | //! @name Environment setup 44 | //! @{ 45 | 46 | //! @brief Execute Lua file (text or bytecode). 47 | //! @pre filename != nullptr 48 | //! @throw std::runtime_error In case of execution error, what() contains additional information. 49 | void runFile(const char* filename); 50 | 51 | //! @brief Execute Lua file (text or bytecode). 52 | //! @throw std::runtime_error In case of execution error, what() contains additional information. 53 | //! @overload 54 | void runFile(const std::string& filename) 55 | { 56 | runFile(filename.c_str()); 57 | } 58 | 59 | //! @brief Execute a string. 60 | //! @pre expression != nullptr 61 | //! @throw std::runtime_error In case of execution error, what() contains additional information. 62 | void runString(const char* expression); 63 | 64 | //! @brief Execute a string. 65 | //! @throw std::runtime_error In case of execution error, what() contains additional information. 66 | //! @overload 67 | void runString(const std::string& expression) 68 | { 69 | return runString(expression.c_str()); 70 | } 71 | 72 | //! @brief Execute C function. 73 | //! @pre f != nullptr 74 | //! @throw std::runtime_error In case of execution error, what() contains additional information. 75 | void call(CFunction f); 76 | //! @} 77 | 78 | //! @name Direct Lua API interaction 79 | //! @{ 80 | 81 | //! @brief Access to raw Lua state pointer (for direct use with Lua API). 82 | lua_State* getRawState() noexcept 83 | { 84 | return state; 85 | } 86 | 87 | //! @} 88 | 89 | private: 90 | 91 | lua_State* const state; 92 | }; 93 | 94 | } 95 | 96 | #endif // LUA_GSTATE_HPP_INCLUDED 97 | -------------------------------------------------------------------------------- /luapp/lua_value.hxx: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of Lua API++ library (https://github.com/OldFisher/lua-api-pp) 3 | * distributed under MIT License (http://opensource.org/licenses/MIT). 4 | * See license.txt for details. 5 | * (c) 2014 OldFisher 6 | */ 7 | 8 | #ifndef LUA_VALUE_HPP_INCLUDED 9 | #define LUA_VALUE_HPP_INCLUDED 10 | 11 | 12 | 13 | namespace lua { 14 | 15 | //! @brief Owner of a single stack slot. 16 | //! @details This is basically a @ref lua::Valref "Valref" which allocates 17 | //! its own slot on creation and frees it when destroyed. Its purpose is 18 | //! to anchor some value for repeated use. 19 | //! @note It is impossible to create a Value with empty table using anonymous Table object as initializer. 20 | //! Use @ref lua::Table::records "records" or @ref lua::Table::array "array" instead. 21 | class Value final: public Valref { 22 | friend class Table; 23 | 24 | public: 25 | //! @name Life cycle 26 | //! @{ 27 | 28 | #ifdef DOXYGEN_ONLY 29 | //! @brief Create a copy of referenced value. 30 | Value(Valref src); 31 | //! @brief Promote native value. 32 | Value(Valobj src, Context& context); 33 | //! @brief Take ownership of expression result. 34 | Value(Temporary src); 35 | //! @brief Assign new value to owned stack slot. 36 | Value& operator = (Valobj newValue); 37 | 38 | #else // Not DOXYGEN_ONLY 39 | Value(const Valref& src) noexcept; 40 | 41 | Value(const Value& src) noexcept: 42 | Value(static_cast(src)) 43 | { 44 | } 45 | 46 | template 47 | Value(ValueType&& val, Context& context); 48 | 49 | 50 | template Value(_::Lazy&& l); 51 | 52 | template 53 | Value& operator = (ValueType&& val) 54 | { 55 | Valref::operator = (std::forward(val)); 56 | return *this; 57 | } 58 | 59 | Value(Table&&) = delete; // See docs on Table constructor 60 | 61 | Value(const Table& src); 62 | #endif // DOXYGEN_ONLY 63 | 64 | //! @brief It is possible to return Value from functions. 65 | //! @details The move constructor is not implemented so you're not allowed to actually move Value, but you can return Values from functions. 66 | Value(Value&&)/* = delete*/; 67 | 68 | //! @details The owned slot is freed upon Value destruction. 69 | ~Value() noexcept; 70 | 71 | //! @} 72 | 73 | private: 74 | Value(Context& s, int idx) noexcept: 75 | Valref(s, idx) 76 | { 77 | } 78 | }; 79 | 80 | } 81 | 82 | 83 | #endif // LUA_VALUE_HPP_INCLUDED 84 | -------------------------------------------------------------------------------- /luapp/luainc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of Lua API++ library (https://github.com/OldFisher/lua-api-pp) 3 | * distributed under MIT License (http://opensource.org/licenses/MIT). 4 | * See license.txt for details. 5 | * (c) 2014 OldFisher 6 | */ 7 | 8 | //! @file 9 | //! @brief Include file for Lua API. 10 | //! @details Used in Lua API++ implementation. 11 | //! Configure it as necessary for specific Lua installations. 12 | //! This file can also be used for direct interactions with Lua API. 13 | 14 | extern "C" { 15 | #include 16 | #include 17 | #include 18 | } 19 | -------------------------------------------------------------------------------- /main.doxypage: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of Lua API++ library (https://github.com/OldFisher/lua-api-pp) 3 | * distributed under MIT License (http://opensource.org/licenses/MIT). 4 | * See license.txt for details. 5 | * (c) 2014 OldFisher 6 | */ 7 | 8 | /** @mainpage Lua API++ library 9 | * Lua API++ library is a C++ wrapper for Lua API. 10 | * The goal of this library is to let you operate Lua using simple expressive syntax. 11 | * 12 | * Most noticeable features provided by the library: 13 | * @li @ref stack_management "automatic stack management"; 14 | * @li natural expressions (indexing, calls, arithmetics @lv52, concatenation); 15 | * @li full support of @ref basic_state_multiret "multi-value returns"; 16 | * @li @ref basic_values_user "userdata" support; 17 | * @li easy @ref lua::Table "table" creation and handling; 18 | * @li automatic @ref lua::Context::wrap "wrapping" of C functions. 19 | * 20 | * Most noticeable \b unsupported features: 21 | * @li debug; 22 | * @li coroutines; 23 | * @li string buffers. 24 | * 25 | * The library requires C++11 compatible compiler. 26 | * 27 | * To get acquainted, read about @ref basic_concepts "basic concepts", 28 | * @ref motivational_example "motivational example" or @ref usage "how to use" it. 29 | * 30 | * This library is @ref main_license "licensed" under terms of MIT license (same as Lua itself) 31 | * and maintained on GitHub 32 | * 33 | * @page main_license License 34 | * The MIT License (MIT) http://opensource.org/licenses/MIT 35 | * 36 | * Copyright (c) 2014 OldFisher 37 | * 38 | * Permission is hereby granted, free of charge, to any person obtaining a copy 39 | * of this software and associated documentation files (the "Software"), to deal 40 | * in the Software without restriction, including without limitation the rights 41 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 42 | * copies of the Software, and to permit persons to whom the Software is 43 | * furnished to do so, subject to the following conditions: 44 | * 45 | * The above copyright notice and this permission notice shall be included in 46 | * all copies or substantial portions of the Software. 47 | * 48 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 49 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 50 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 51 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 52 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 53 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 54 | * THE SOFTWARE. 55 | * 56 | */ 57 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Lua API++ library 2 | Lua API++ library is a C++ wrapper for [Lua](http://www.lua.org/) API. 3 | The goal of this library is to let you operate Lua using simple expressive syntax. 4 | 5 | ##Current status 6 | Lua 5.3 support is added. 7 | 8 | ##Most noticeable features provided by the library: 9 | * automatic stack management; 10 | * natural expressions (indexing, calls, arithmetics, concatenation); 11 | * full support of multi-value returns; 12 | * userdata support; 13 | * easy table creation and handling; 14 | * automatic wrapping of functions; 15 | * support for Lua 5.1 (compatible with LuaJIT), 5.2 and 5.3. 16 | 17 | ##Information 18 | The library comes fully [documented](http://oldfisher.github.io/index.html). Dive head-in with [motivational example](http://oldfisher.github.io/motivational_example.html), 19 | get acquainted with [basic concepts](http://oldfisher.github.io/basic_concepts.html) or see what's new in the [changelog](http://oldfisher.github.io/changelog.html). 20 | 21 | ##Most noticeable **unsupported** features: 22 | * debug; 23 | * coroutines; 24 | * string buffers. 25 | 26 | The library requires C++11 compatible compiler. It is distributed under terms of MIT license. 27 | -------------------------------------------------------------------------------- /test/fixtures.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "fixtures.h" 4 | #include 5 | #include 6 | 7 | using std::ofstream; 8 | 9 | 10 | 11 | int fxSignal::signal = 0; 12 | size_t fxFiles::entryCount = 0; 13 | 14 | 15 | fxGlobalVal::fxGlobalVal(): 16 | vs(context) 17 | { 18 | lua_pushnumber(context, 3.14); 19 | lua_setglobal(context, "val"); 20 | vs.push_back(3.14); 21 | } 22 | 23 | 24 | fxFiles::fxFiles() 25 | { 26 | if(entryCount == 0) { 27 | ofstream goodFile("test_good.lua"), badFile("test_bad.lua"); 28 | if(!goodFile.is_open() || ! badFile.is_open()) 29 | throw std::runtime_error("Could not create test files!"); 30 | goodFile << "fnSignal()"; 31 | badFile << "TestBadTable = {"; 32 | } 33 | ++entryCount; 34 | } 35 | 36 | 37 | 38 | fxFiles::~fxFiles() 39 | { 40 | --entryCount; 41 | if(entryCount == 0) { 42 | std::remove("test_good.lua"); 43 | std::remove("test_bad.lua"); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /test/fixtures.h: -------------------------------------------------------------------------------- 1 | #ifndef FIXTURES_H_INCLUDED 2 | #define FIXTURES_H_INCLUDED 3 | 4 | #include "luapp/lua.hpp" 5 | #include "luapp/luainc.h" 6 | 7 | 8 | struct fxState{ 9 | lua::State gs; 10 | }; 11 | 12 | 13 | struct fxContext: public fxState { 14 | lua::Context context; 15 | fxContext(): 16 | context(gs.getRawState(), lua::Context::initializeExplicitly) 17 | { 18 | } 19 | }; 20 | 21 | 22 | struct fxSignal: public fxContext{ 23 | 24 | static int signal; 25 | 26 | static int fnSignal(lua_State*) 27 | { 28 | signal = 1; 29 | return 0; 30 | } 31 | 32 | 33 | bool isSignaled() noexcept 34 | { 35 | if(signal != 0) { 36 | signal = 0; 37 | return true; 38 | } else 39 | return false; 40 | } 41 | 42 | 43 | fxSignal() 44 | { 45 | lua_pushcfunction(gs.getRawState(), fnSignal); 46 | lua_setglobal(gs.getRawState(), "fnSignal"); 47 | } 48 | }; 49 | 50 | 51 | struct fxGlobalVal: public fxContext 52 | { 53 | // Creates global variable "val" and 1-element Valset 54 | lua::Valset vs; 55 | fxGlobalVal(); 56 | }; 57 | 58 | 59 | struct fxFiles: public fxSignal { 60 | 61 | static size_t entryCount; 62 | 63 | fxFiles(); 64 | ~fxFiles(); 65 | }; 66 | 67 | #endif // FIXTURES_H_INCLUDED 68 | -------------------------------------------------------------------------------- /test/impl.cpp: -------------------------------------------------------------------------------- 1 | #include -------------------------------------------------------------------------------- /test/testConcatNondiscard.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/testConcatNormal.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "fixtures.h" 4 | #include 5 | #include 6 | using std::string; 7 | 8 | 9 | struct Udata{ 10 | int x; 11 | }; 12 | 13 | LUAPP_USERDATA(Udata, "Test.Userdata") 14 | 15 | 16 | static int signal_ = 0; 17 | 18 | static lua::Retval concat(lua::Context& c) 19 | { 20 | ++signal_; 21 | return c.ret("userdata concatenated"); 22 | } 23 | 24 | 25 | 26 | struct fxConcatNormal: public fxGlobalVal { 27 | fxConcatNormal() 28 | { 29 | signal_ = 0; 30 | vs[0] = "abc"; 31 | context.mt() = lua::Table::records(context, "__concat", lua::mkcf); 32 | } 33 | }; 34 | 35 | #define v vs[0] 36 | #define l context.global["val"] 37 | 38 | 39 | 40 | 41 | BOOST_AUTO_TEST_SUITE(ConcatNormal) 42 | 43 | 44 | BOOST_FIXTURE_TEST_CASE(Single, fxConcatNormal) 45 | { 46 | BOOST_CHECK_EQUAL((l & v).cast(), "3.14abc"); 47 | BOOST_CHECK_EQUAL((v & l).cast(), "abc3.14"); 48 | BOOST_CHECK_EQUAL((v & "def").cast(), "abcdef"); 49 | BOOST_CHECK_EQUAL((l & "def").cast(), "3.14def"); 50 | BOOST_CHECK_EQUAL(("abc" & v).cast(), "abcabc"); 51 | BOOST_CHECK_EQUAL(("abc" & l).cast(), "abc3.14"); 52 | } 53 | 54 | 55 | 56 | BOOST_FIXTURE_TEST_CASE(Multiple, fxConcatNormal) 57 | { 58 | BOOST_CHECK_EQUAL((l & v & 1 & "A" & 2.2).cast(), "3.14abc1A2.2"); 59 | context.runString("function fn() return 2, 3, 4; end"); 60 | BOOST_CHECK_EQUAL((l & context.global["fn"]() & v ).cast(), "3.14234abc"); 61 | } 62 | 63 | 64 | 65 | BOOST_FIXTURE_TEST_CASE(Userdata, fxConcatNormal) 66 | { 67 | v = Udata{0}; 68 | BOOST_CHECK_EQUAL((l & v).cast(), "userdata concatenated"); 69 | BOOST_CHECK_EQUAL(signal_, 1); 70 | } 71 | 72 | 73 | BOOST_FIXTURE_TEST_CASE(Discard, fxConcatNormal) 74 | { 75 | v = Udata{0}; 76 | l & v; 77 | #ifdef LUAPP_NONDISCARDABLE_CONCAT 78 | BOOST_CHECK_EQUAL(signal_, 1); 79 | #else 80 | BOOST_CHECK_EQUAL(signal_, 0); 81 | #endif 82 | } 83 | 84 | 85 | 86 | BOOST_AUTO_TEST_SUITE_END() 87 | -------------------------------------------------------------------------------- /test/testContext.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "fixtures.h" 4 | #include 5 | 6 | 7 | BOOST_AUTO_TEST_SUITE(Context) 8 | 9 | 10 | 11 | BOOST_FIXTURE_TEST_CASE(explicitInitialization, fxContext) 12 | { 13 | BOOST_CHECK(true); 14 | } 15 | 16 | 17 | #if(LUAPP_API_VERSION >= 52) 18 | BOOST_FIXTURE_TEST_CASE(versionQuery, fxContext) 19 | { 20 | #if(LUAPP_API_VERSION == 52) 21 | BOOST_CHECK(context.getVersion() == 502); 22 | #elif(LUAPP_API_VERSION == 53) 23 | BOOST_CHECK(context.getVersion() == 503); 24 | #endif 25 | } 26 | #endif // V52+ 27 | 28 | 29 | BOOST_FIXTURE_TEST_CASE(garbageCollector, fxContext) 30 | { 31 | #if(LUAPP_API_VERSION >= 52) 32 | BOOST_CHECK(context.queryMemoryTotal() > 0); 33 | context.gcCollect(); 34 | BOOST_CHECK(context.gcIsRunning()); 35 | context.gcStop(); 36 | BOOST_CHECK(!context.gcIsRunning()); 37 | context.gcResume(); 38 | BOOST_CHECK(context.gcIsRunning()); 39 | #else // V51- 40 | BOOST_CHECK(context.queryMemoryTotal() > 0); 41 | context.gcCollect(); 42 | context.gcStop(); 43 | context.gcResume(); 44 | #endif // V52+ 45 | } 46 | 47 | 48 | 49 | BOOST_FIXTURE_TEST_CASE(directLua, fxContext) 50 | { 51 | BOOST_CHECK_EQUAL(gs.getRawState(), static_cast(context)); 52 | BOOST_CHECK_EQUAL(context.getTop(), 0u); 53 | } 54 | 55 | 56 | BOOST_AUTO_TEST_SUITE_END() 57 | -------------------------------------------------------------------------------- /test/testContextAccessors.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "fixtures.h" 4 | #include 5 | #include 6 | 7 | using std::string; 8 | 9 | using lua::Retval; 10 | using lua::Context; 11 | using lua::Valset; 12 | using lua::Table; 13 | using lua::mkcf; 14 | using lua::Nil; 15 | using lua::nil; 16 | 17 | 18 | 19 | struct Udata; 20 | LUAPP_USERDATA(Udata, "Test.Userdata") 21 | 22 | 23 | 24 | BOOST_AUTO_TEST_SUITE(ContextAccessors) 25 | 26 | 27 | 28 | BOOST_FIXTURE_TEST_CASE(GlobalAccessor, fxContext) 29 | { 30 | context.global["val"] = 3.14; 31 | BOOST_CHECK(context.global["val"].is()); 32 | BOOST_CHECK_EQUAL(context.global["val"].cast(), 3.14); 33 | BOOST_CHECK(context.global["nosuchval"].is()); 34 | } 35 | 36 | 37 | 38 | BOOST_FIXTURE_TEST_CASE(RegistryAccessor, fxContext) 39 | { 40 | Table t(context); 41 | context.mt() = t; 42 | BOOST_CHECK(t == context.registry["Test.Userdata"]); 43 | Table t2(context); 44 | BOOST_CHECK(t != t2); 45 | context.registry["Test.Userdata"] = t2; 46 | BOOST_CHECK(context.registry["Test.Userdata"] == t2); 47 | BOOST_CHECK(context.mt() == t2); 48 | 49 | const auto key = context.registry.store(t2); 50 | BOOST_CHECK(key); 51 | const auto keyValue = key.get(); 52 | BOOST_CHECK_NE(keyValue, -2); 53 | BOOST_CHECK(context.registry[key] == t2); 54 | context.registry[key] = t; 55 | BOOST_CHECK(context.registry[key] == t); 56 | BOOST_CHECK_EQUAL(key.get(), keyValue); 57 | auto key2 = key; 58 | BOOST_CHECK(key == key2); 59 | BOOST_CHECK_EQUAL(key2.get(), key.get()); 60 | key2.kill(); 61 | BOOST_CHECK(!key2); 62 | BOOST_CHECK(key != key2); 63 | } 64 | 65 | 66 | 67 | static Retval argChecker(Context& c) 68 | { 69 | return c.ret(c.checkArgs(4)); 70 | } 71 | 72 | BOOST_FIXTURE_TEST_CASE(ArgumentTypeCheck, fxContext) 73 | { 74 | context.global["f"] = mkcf; 75 | BOOST_CHECK(!context.global["f"]().cast()); 76 | BOOST_CHECK(!context.global["f"](1, nil, nil, context.global["f"], true, false).cast()); 77 | BOOST_CHECK(context.global["f"](1, nil, "2", context.global["f"], true).cast()); 78 | BOOST_CHECK(context.global["f"](1, "2", "2", context.global["f"], true).cast()); 79 | } 80 | 81 | 82 | 83 | static Retval argRequire(Context& c) 84 | { 85 | c.requireArgs(4); 86 | return c.ret(); 87 | } 88 | 89 | BOOST_FIXTURE_TEST_CASE(ArgumentTypeRequire, fxContext) 90 | { 91 | context.global["f"] = mkcf; 92 | { 93 | Valset rv = context.global["f"].pcall(); 94 | BOOST_CHECK(!rv.success()); 95 | BOOST_CHECK(rv[0].cast().find("Insufficient number of arguments (4 expected, 0 passed).") != string::npos); 96 | } 97 | { 98 | Valset rv = context.global["f"].pcall(1, nil, "2", nil, true, false); 99 | BOOST_CHECK(!rv.success()); 100 | BOOST_CHECK(rv[0].cast().find("Argument 4 type is incompatible.") != string::npos); 101 | } 102 | { 103 | Valset rv = context.global["f"].pcall(1, nil, "2", context.global["f"], true, false); 104 | BOOST_CHECK(rv.success()); 105 | } 106 | { 107 | Valset rv = context.global["f"].pcall(1, "2", "2", context.global["f"], true, false); 108 | BOOST_CHECK(rv.success()); 109 | } 110 | } 111 | 112 | 113 | BOOST_AUTO_TEST_SUITE_END() 114 | -------------------------------------------------------------------------------- /test/testErrors.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "fixtures.h" 4 | #include 5 | 6 | using std::string; 7 | 8 | using lua::Retval; 9 | using lua::Context; 10 | using lua::Value; 11 | using lua::Table; 12 | using lua::Valset; 13 | using lua::mkcf; 14 | 15 | 16 | struct Udata{int x;}; 17 | LUAPP_USERDATA(Udata, "Test.Userdata") 18 | 19 | 20 | 21 | BOOST_AUTO_TEST_SUITE(ContextErrorReporting) 22 | 23 | 24 | 25 | static Retval testWhere(Context& c) 26 | { 27 | return c.ret(c.where()); 28 | } 29 | 30 | BOOST_FIXTURE_TEST_CASE(Where, fxContext) 31 | { 32 | Value v = context.closure(mkcf)(); 33 | BOOST_CHECK(v.is()); 34 | BOOST_CHECK_EQUAL(v.cast(), ""); 35 | } 36 | 37 | 38 | 39 | static Retval testErrMsg(Context& c) 40 | { 41 | Value rv("Error ", c); 42 | return c.error(rv & "message"); 43 | } 44 | 45 | BOOST_FIXTURE_TEST_CASE(ErrorMessage, fxContext) 46 | { 47 | Valset rv = context.closure(mkcf).pcall(); 48 | BOOST_CHECK(!rv.success()); 49 | BOOST_CHECK(rv[0].is()); 50 | BOOST_CHECK_EQUAL(rv[0].cast(), "Error message"); 51 | } 52 | 53 | 54 | 55 | static Retval testErrDefault(Context& c) 56 | { 57 | return c.error(); 58 | } 59 | 60 | BOOST_FIXTURE_TEST_CASE(ErrorDefault, fxContext) 61 | { 62 | Valset rv = context.closure(mkcf).pcall(); 63 | BOOST_CHECK(!rv.success()); 64 | BOOST_CHECK(rv[0].is()); 65 | BOOST_CHECK_EQUAL(rv[0].cast(), ""); 66 | } 67 | 68 | // Catching thrown errors is covered by mkcf tests in testWrappers.cpp 69 | 70 | BOOST_AUTO_TEST_SUITE_END() 71 | -------------------------------------------------------------------------------- /test/testIndexing.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "fixtures.h" 4 | #include 5 | 6 | 7 | using lua::Retval; 8 | using lua::Context; 9 | using lua::Value; 10 | using lua::Valset; 11 | using lua::mkcf; 12 | using std::string; 13 | 14 | struct fxIndexing: public fxContext { 15 | fxIndexing() 16 | { 17 | context.runString("val = {1, 2, {1, 2, {1, 2, one = 1, two = 2}, one = 1, two = 2}, one = 1, two = 2}"); 18 | } 19 | }; 20 | 21 | #define l context.global["val"] 22 | 23 | 24 | struct Udata{ int x;}; 25 | LUAPP_USERDATA(Udata, "Test.Userdata") 26 | 27 | 28 | 29 | BOOST_AUTO_TEST_SUITE(Indexing) 30 | 31 | 32 | BOOST_FIXTURE_TEST_CASE(Native, fxIndexing) 33 | { 34 | l[1] = 42; 35 | BOOST_CHECK_EQUAL(l[1].cast(), 42); 36 | l["one"] = 42; 37 | BOOST_CHECK_EQUAL(l["one"].cast(), 42); 38 | lua::Value v = l; 39 | BOOST_CHECK_EQUAL(v[1].cast(), 42); 40 | BOOST_CHECK_EQUAL(v["one"].cast(), 42); 41 | v[2] = 43; 42 | BOOST_CHECK_EQUAL(v[2].cast(), 43); 43 | v["two"] = 43; 44 | BOOST_CHECK_EQUAL(v["two"].cast(), 43); 45 | } 46 | 47 | 48 | 49 | BOOST_FIXTURE_TEST_CASE(Reference, fxIndexing) 50 | { 51 | lua::Value val(2, context); 52 | BOOST_CHECK_EQUAL(l[val].cast(), 2); 53 | lua::Value v = l; 54 | v[val] = 43; 55 | BOOST_CHECK_EQUAL(v[val].cast(), 43); 56 | } 57 | 58 | 59 | 60 | BOOST_FIXTURE_TEST_CASE(Tempval, fxIndexing) 61 | { 62 | BOOST_CHECK_EQUAL(l[l[2]].cast(), 2); 63 | lua::Value v = l; 64 | v[l[2]] = 43; 65 | BOOST_CHECK_EQUAL(v[l[3][2]].cast(), 43); 66 | } 67 | 68 | 69 | 70 | 71 | 72 | static int signal = 0; 73 | 74 | static lua::Retval setsignal(lua::Context& c) 75 | { 76 | signal = 1; 77 | return c.ret(); 78 | } 79 | 80 | 81 | 82 | 83 | BOOST_FIXTURE_TEST_CASE(Discard, fxIndexing) 84 | { 85 | signal = 0; 86 | context.mt() = lua::Table::records(context, "__index", lua::mkcf); 87 | l[3][3][3] = Udata{0}; 88 | l[3][3][3]; 89 | #ifdef LUAPP_NODISCARD_INDEX 90 | BOOST_CHECK_EQUAL(signal, 1); 91 | #else 92 | BOOST_CHECK_EQUAL(signal, 0); 93 | #endif // LUAPP_NODISCARD_INDEX 94 | } 95 | 96 | 97 | 98 | BOOST_AUTO_TEST_SUITE_END() 99 | 100 | -------------------------------------------------------------------------------- /test/testUserdata.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "fixtures.h" 4 | #include 5 | #include 6 | 7 | 8 | struct Udata{int x;}; 9 | LUAPP_USERDATA(Udata, "Test.Userdata") 10 | struct Otherdata{int x;}; 11 | LUAPP_USERDATA(Otherdata, "Test.Otherdata") 12 | 13 | 14 | 15 | 16 | struct fxud: public fxContext 17 | { 18 | fxud() 19 | { 20 | context.mt() = lua::Table::records( context, 21 | 1, 1, 22 | 2, 2 23 | ); 24 | context.mt() = lua::Table::records(context); 25 | } 26 | }; 27 | 28 | 29 | 30 | 31 | BOOST_AUTO_TEST_SUITE(Userdata) 32 | 33 | 34 | 35 | BOOST_FIXTURE_TEST_CASE(Registration, fxud) 36 | { 37 | BOOST_CHECK(context.mt()[2].cast() == 2); 38 | } 39 | 40 | 41 | 42 | BOOST_FIXTURE_TEST_CASE(TypeControl, fxud) 43 | { 44 | context.global["val"] = Udata{42}; 45 | BOOST_CHECK(context.global["val"].type() == lua::ValueType::UserData); 46 | BOOST_CHECK(context.global["val"].is()); 47 | BOOST_CHECK(!context.global["val"].is()); 48 | } 49 | 50 | 51 | 52 | 53 | BOOST_FIXTURE_TEST_CASE(Transfer, fxud) 54 | { 55 | context.global["val"] = Udata{42}; 56 | BOOST_CHECK_EQUAL(context.global["val"].cast().x, 42); 57 | } 58 | 59 | 60 | 61 | BOOST_AUTO_TEST_SUITE_END() 62 | -------------------------------------------------------------------------------- /test/testValobj.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "fixtures.h" 4 | #include 5 | 6 | struct Udata{int x;}; 7 | LUAPP_USERDATA(Udata, "Test.Userdata") 8 | 9 | BOOST_AUTO_TEST_SUITE(Valobj) 10 | 11 | 12 | #define v vs[0] 13 | #define l context.global["val"] 14 | 15 | BOOST_FIXTURE_TEST_CASE(refCopy, fxGlobalVal) 16 | { 17 | v = 3.14; 18 | lua::Valref copy = v; 19 | BOOST_CHECK_EQUAL(copy.cast(), 3.14); 20 | } 21 | 22 | 23 | 24 | BOOST_FIXTURE_TEST_CASE(Assignment, fxGlobalVal) 25 | { 26 | l = 3.14; 27 | v = l; 28 | BOOST_CHECK_EQUAL(v.cast(), 3.14); 29 | v = 1.28; 30 | l = v; 31 | BOOST_CHECK_EQUAL(l.cast(), 1.28); 32 | } 33 | 34 | 35 | 36 | BOOST_FIXTURE_TEST_CASE(Length, fxGlobalVal) 37 | { 38 | context.runString("val = {1, 2, 3}"); 39 | #if(LUAPP_API_VERSION >= 52) 40 | BOOST_CHECK_EQUAL(l.len().cast(), 3u); 41 | v = l; 42 | BOOST_CHECK_EQUAL(v.len().cast(), 3u); 43 | BOOST_CHECK_EQUAL(v.rawlen(), 3u); 44 | BOOST_CHECK_EQUAL(v.rawlen(), 3u); 45 | #else // V51- 46 | BOOST_CHECK_EQUAL(l.len(), 3u); 47 | v = l; 48 | BOOST_CHECK_EQUAL(v.len(), 3u); 49 | #endif 50 | } 51 | 52 | 53 | #if(LUAPP_API_VERSION >= 53) 54 | BOOST_FIXTURE_TEST_CASE(Linked, fxContext) 55 | { 56 | using lua::Value; 57 | using lua::Nil; 58 | context.mt() = lua::Table::records(context); 59 | { 60 | Value val{Udata{7}, context}; 61 | BOOST_CHECK(val.linked().is()); 62 | val.linked() = 8; 63 | BOOST_CHECK_EQUAL(val.linked().to(), 8); 64 | } 65 | { 66 | Value val{7, context}; 67 | BOOST_CHECK(val.linked().is()); 68 | val.linked() = 8; 69 | BOOST_CHECK(val.linked().is()); 70 | } 71 | { 72 | context.global["tmp"] = Udata{7}; 73 | BOOST_CHECK(context.global["tmp"].linked().is()); 74 | context.global["tmp"].linked() = 8; 75 | BOOST_CHECK_EQUAL(context.global["tmp"].linked().to(), 8); 76 | } 77 | { 78 | context.global["tmp"] = 7; 79 | BOOST_CHECK(context.global["tmp"].linked().is()); 80 | context.global["tmp"].linked() = 8; 81 | BOOST_CHECK(context.global["tmp"].linked().is()); 82 | } 83 | } 84 | #endif // V53+ 85 | 86 | 87 | BOOST_FIXTURE_TEST_CASE(Metatables, fxGlobalVal) 88 | { 89 | context.runString("val = {1, 2, 3}"); 90 | v = l; 91 | context.runString("val = {1, 2, 3, 4}"); 92 | context.runString("mt1 = {1}"); 93 | context.runString("mt2 = {2}"); 94 | 95 | v.mt() = context.global["mt1"]; 96 | l.mt() = context.global["mt2"]; 97 | 98 | BOOST_CHECK(v.mt() == context.global["mt1"]); 99 | BOOST_CHECK_EQUAL(v.mt()[1].cast(), 1); 100 | BOOST_CHECK(l.mt() == context.global["mt2"]); 101 | BOOST_CHECK_EQUAL(l.mt()[1].cast(), 2); 102 | } 103 | 104 | 105 | 106 | 107 | BOOST_AUTO_TEST_SUITE_END() 108 | -------------------------------------------------------------------------------- /test/test_main.cpp: -------------------------------------------------------------------------------- 1 | #define BOOST_TEST_MODULE LuaApiPpTest 2 | #include 3 | // That's enough. 4 | --------------------------------------------------------------------------------