mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
update all tests and fix all the small derps and typos
This commit is contained in:
parent
823de66e43
commit
c35c66baf7
|
@ -59,7 +59,8 @@ function (MAKE_EXAMPLE example_source_file example_suffix target_sol example_tes
|
|||
add_executable(${example_name} ${example_source_file} source/assert.hpp)
|
||||
set_target_properties(${example_name}
|
||||
PROPERTIES
|
||||
OUTPUT_NAME "${example_output_name}")
|
||||
OUTPUT_NAME "${example_output_name}"
|
||||
EXPORT_NAME sol2::${example_output_name})
|
||||
target_link_libraries(${example_name} ${target_sol})
|
||||
target_compile_features(${example_name}
|
||||
PRIVATE ${CXX_FEATURES})
|
||||
|
@ -90,13 +91,13 @@ if (SOL2_EXAMPLES)
|
|||
endforeach()
|
||||
endif()
|
||||
|
||||
if (SOL2_SINGLE AND SOL2_EXAMPLES_SINGLE)
|
||||
if (SOL2_EXAMPLES_SINGLE)
|
||||
foreach(example_source_file ${EXAMPLES_SRC})
|
||||
MAKE_EXAMPLE(${example_source_file} ".single" sol2::sol2_single SOL2_TESTS_EXAMPLES)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
if (SOL2_GENERATE_SINGLE AND SOL2_EXAMPLES_SINGLE_GENERATED)
|
||||
if (SOL2_EXAMPLES_SINGLE_GENERATED)
|
||||
foreach(example_source_file ${EXAMPLES_SRC})
|
||||
MAKE_EXAMPLE(${example_source_file} ".single.generated" sol2::sol2_single_generated SOL2_TESTS_EXAMPLES)
|
||||
endforeach()
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#ifndef SOL_BIND_TRAITS_HPP
|
||||
#define SOL_BIND_TRAITS_HPP
|
||||
|
||||
#include "feature_test.hpp"
|
||||
#include "forward.hpp"
|
||||
#include "tuple.hpp"
|
||||
|
||||
namespace sol {
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "traits.hpp"
|
||||
#include "stack.hpp"
|
||||
#include "map.hpp"
|
||||
#include "object.hpp"
|
||||
|
||||
namespace sol {
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include "stack.hpp"
|
||||
#include "wrapper.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace sol {
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#define SOL_FUNCTION_TYPES_STATEFUL_HPP
|
||||
|
||||
#include "function_types_core.hpp"
|
||||
#include "call.hpp"
|
||||
|
||||
namespace sol {
|
||||
namespace function_detail {
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#define SOL_FUNCTION_TYPES_STATELESS_HPP
|
||||
|
||||
#include "stack.hpp"
|
||||
#include "call.hpp"
|
||||
|
||||
namespace sol {
|
||||
namespace function_detail {
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#define SOL_METATABLE_HPP
|
||||
|
||||
#include "table_core.hpp"
|
||||
#include "usertype_core.hpp"
|
||||
#include "usertype.hpp"
|
||||
|
||||
namespace sol {
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#define SOL_RAII_HPP
|
||||
|
||||
#include "traits.hpp"
|
||||
#include "compatibility.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
|
|
@ -57,7 +57,9 @@
|
|||
#include "protected_function.hpp"
|
||||
#include "state.hpp"
|
||||
#include "coroutine.hpp"
|
||||
#include "thread.hpp"
|
||||
#include "userdata.hpp"
|
||||
#include "metatable.hpp"
|
||||
#include "variadic_args.hpp"
|
||||
#include "variadic_results.hpp"
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <type_traits>
|
||||
#include <cassert>
|
||||
#include <limits>
|
||||
#include <cmath>
|
||||
#if defined(SOL_CXX17_FEATURES) && SOL_CXX17_FEATURES
|
||||
#include <string_view>
|
||||
#include <optional>
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "table_iterator.hpp"
|
||||
#include "types.hpp"
|
||||
#include "object_base.hpp"
|
||||
#include "usertype.hpp"
|
||||
|
||||
namespace sol {
|
||||
namespace detail {
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include "reference.hpp"
|
||||
#include "stack.hpp"
|
||||
#include "state_view.hpp"
|
||||
|
||||
namespace sol {
|
||||
struct lua_thread_state {
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#ifndef SOL_TUPLE_HPP
|
||||
#define SOL_TUPLE_HPP
|
||||
|
||||
#include "forward.hpp"
|
||||
|
||||
#include <tuple>
|
||||
#include <cstddef>
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "raii.hpp"
|
||||
#include "deprecate.hpp"
|
||||
#include "object.hpp"
|
||||
#include "function_types.hpp"
|
||||
|
||||
#include <sstream>
|
||||
#include <type_traits>
|
||||
|
|
|
@ -579,10 +579,9 @@ namespace sol { namespace u_detail {
|
|||
void* derived_this = static_cast<void*>(static_cast<usertype_storage<T>*>(this));
|
||||
index_call_storage ics;
|
||||
ics.binding_data = b.data();
|
||||
//ics.index = is_index ? static_cast<index_call_function*>(&Binding::call_with_<true, is_var_bind::value>)
|
||||
// : static_cast<index_call_function*>(&Binding::index_call_with_<true, is_var_bind::value>);
|
||||
//ics.new_index = is_new_index ? static_cast<index_call_function*>(&Binding::call_with_<false, is_var_bind::value>)
|
||||
// : static_cast<index_call_function*>(&Binding::index_call_with_<false, is_var_bind::value>);
|
||||
ics.index = is_index ? &Binding::template call_with_<true, is_var_bind::value> : &Binding::template index_call_with_<true, is_var_bind::value>;
|
||||
ics.new_index = is_new_index ? &Binding::template call_with_<false, is_var_bind::value>
|
||||
: &Binding::template index_call_with_<false, is_var_bind::value>;
|
||||
// need to swap everything to use fast indexing here
|
||||
auto for_each_backing_metatable = [&](lua_State* L, submetatable_type smt, reference& fast_index_table) {
|
||||
if (smt == submetatable_type::named) {
|
||||
|
@ -691,7 +690,7 @@ namespace sol { namespace u_detail {
|
|||
// we create a metatable to attach to the regular gc_table
|
||||
// so that the destructor is called for the usertype storage
|
||||
int usertype_storage_metatabe_count = stack::push(L, new_table(0, 1));
|
||||
stack_table usertype_storage_metatable(L, -usertype_storage_metatabe_count);
|
||||
stack_reference usertype_storage_metatable(L, -usertype_storage_metatabe_count);
|
||||
// set the destruction routine on the metatable
|
||||
stack::set_field(L, meta_function::garbage_collect, detail::user_alloc_destruct<usertype_storage<T>>, usertype_storage_metatable.stack_index());
|
||||
// set the metatable on the usertype storage userdata
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// This file was generated with a script.
|
||||
// Generated 2018-12-19 15:47:44.640280 UTC
|
||||
// Generated 2018-12-19 18:01:44.554823 UTC
|
||||
// This header was generated with sol v2.20.6 (revision 9b29277)
|
||||
// https://github.com/ThePhD/sol2
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,14 +22,14 @@
|
|||
|
||||
# # # # sol3 tests - compilation tests
|
||||
|
||||
file(GLOB SOL2_COMPILE_TEST_SOURCES source/**/*.cpp)
|
||||
source_group(compile_test_sources FILES ${SOL2_COMPILE_TEST_SOURCES})
|
||||
file(GLOB_RECURSE SOL2_COMPILE_TEST_SOURCES source/*.cpp)
|
||||
source_group(compile_test_sources FILES "${SOL2_COMPILE_TEST_SOURCES}")
|
||||
|
||||
function(CREATE_TEST test_target_name test_name target_sol)
|
||||
if (test_name MATCHES ".single")
|
||||
add_executable(${test_target_name} source/main.cpp source/forward.cpp source/sol.cpp)
|
||||
add_executable(${test_target_name} "source/main.cpp" "source/forward.cpp" "source/sol.cpp")
|
||||
else()
|
||||
add_executable(${test_target_name} ${SOL2_COMPILE_TEST_SOURCES})
|
||||
add_executable(${test_target_name} "${SOL2_COMPILE_TEST_SOURCES}")
|
||||
endif()
|
||||
set_target_properties(${test_target_name}
|
||||
PROPERTIES
|
||||
|
@ -69,10 +69,12 @@ function(CREATE_TEST test_target_name test_name target_sol)
|
|||
install(TARGETS ${test_target_name} RUNTIME DESTINATION bin)
|
||||
endfunction(CREATE_TEST)
|
||||
|
||||
CREATE_TEST(compile_tests "compile_tests" sol2::sol2)
|
||||
if (SOL2_TESTS_SINGLE AND SOL2_SINGLE)
|
||||
if (SOL2_TESTS)
|
||||
CREATE_TEST(compile_tests "compile_tests" sol2::sol2)
|
||||
endif()
|
||||
if (SOL2_TESTS_SINGLE)
|
||||
CREATE_TEST(compile_tests_single "compile_tests.single" sol2::sol2_single)
|
||||
endif()
|
||||
if (SOL2_TESTS_SINGLE_GENERATED AND SOL2_GENERATE_SINGLE)
|
||||
if (SOL2_TESTS_SINGLE_GENERATED)
|
||||
CREATE_TEST(compile_tests_generated_single "compile_tests.single.generated" sol2::sol2_single_generated)
|
||||
endif()
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\as_args.hpp>
|
||||
#include <sol/as_args.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\as_returns.hpp>
|
||||
#include <sol/as_returns.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\bind_traits.hpp>
|
||||
#include <sol/bind_traits.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\call.hpp>
|
||||
#include <sol/call.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\compatibility.hpp>
|
||||
#include <sol/compatibility.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "../sol_defines.hpp"
|
||||
|
||||
#include <sol\compatibility\compat-5.3.h>
|
||||
#include <sol/compatibility\compat-5.3.h>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "../sol_defines.hpp"
|
||||
|
||||
#include <sol\compatibility\version.hpp>
|
||||
#include <sol/compatibility\version.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\config.hpp>
|
||||
#include <sol/config.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\config_setup.hpp>
|
||||
#include <sol/config_setup.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\container_traits.hpp>
|
||||
#include <sol/container_traits.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\coroutine.hpp>
|
||||
#include <sol/coroutine.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\debug.hpp>
|
||||
#include <sol/debug.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\demangle.hpp>
|
||||
#include <sol/demangle.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\deprecate.hpp>
|
||||
#include <sol/deprecate.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\environment.hpp>
|
||||
#include <sol/environment.hpp>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sol\error.hpp>
|
||||
#include <sol/error.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\error_handler.hpp>
|
||||
#include <sol/error_handler.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\feature_test.hpp>
|
||||
#include <sol/feature_test.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\filters.hpp>
|
||||
#include <sol/filters.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\forward.hpp>
|
||||
#include <sol/forward.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\forward_detail.hpp>
|
||||
#include <sol/forward_detail.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\function.hpp>
|
||||
#include <sol/function.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\function_result.hpp>
|
||||
#include <sol/function_result.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\function_types.hpp>
|
||||
#include <sol/function_types.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\function_types_core.hpp>
|
||||
#include <sol/function_types_core.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\function_types_overloaded.hpp>
|
||||
#include <sol/function_types_overloaded.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\function_types_stateful.hpp>
|
||||
#include <sol/function_types_stateful.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\function_types_stateless.hpp>
|
||||
#include <sol/function_types_stateless.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\function_types_templated.hpp>
|
||||
#include <sol/function_types_templated.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\in_place.hpp>
|
||||
#include <sol/in_place.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\inheritance.hpp>
|
||||
#include <sol/inheritance.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\load_result.hpp>
|
||||
#include <sol/load_result.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\make_reference.hpp>
|
||||
#include <sol/make_reference.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\map.hpp>
|
||||
#include <sol/map.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\metatable.hpp>
|
||||
#include <sol/metatable.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\object.hpp>
|
||||
#include <sol/object.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\object_base.hpp>
|
||||
#include <sol/object_base.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\optional.hpp>
|
||||
#include <sol/optional.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\optional_implementation.hpp>
|
||||
#include <sol/optional_implementation.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\overload.hpp>
|
||||
#include <sol/overload.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\property.hpp>
|
||||
#include <sol/property.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\protect.hpp>
|
||||
#include <sol/protect.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\protected_function.hpp>
|
||||
#include <sol/protected_function.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\protected_function_result.hpp>
|
||||
#include <sol/protected_function_result.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\protected_handler.hpp>
|
||||
#include <sol/protected_handler.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\proxy.hpp>
|
||||
#include <sol/proxy.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\proxy_base.hpp>
|
||||
#include <sol/proxy_base.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\raii.hpp>
|
||||
#include <sol/raii.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\reference.hpp>
|
||||
#include <sol/reference.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\resolve.hpp>
|
||||
#include <sol/resolve.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\sol.hpp>
|
||||
#include <sol/sol.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,5 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol/stack_check.hpp>
|
||||
//#include <sol/stack_check.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,5 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol/stack_check_get.hpp>
|
||||
//#include <sol/stack_check_get.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,5 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol/stack_check_get_qualified.hpp>
|
||||
//#include <sol/stack_check_get_qualified.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,5 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol/stack_check_get_unqualified.hpp>
|
||||
//#include <sol/stack_check_get_unqualified.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,5 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol/stack_check_qualified.hpp>
|
||||
//#include <sol/stack_check_qualified.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,5 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol/stack_check_unqualified.hpp>
|
||||
//#include <sol/stack_check_unqualified.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_core.hpp>
|
||||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
//#include <sol/stack_core.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_field.hpp>
|
||||
#include <sol/stack_field.hpp>
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_get.hpp>
|
||||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
//#include <sol/stack_get.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_get_qualified.hpp>
|
||||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
//#include <sol/stack_get_qualified.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_get_unqualified.hpp>
|
||||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
//#include <sol/stack_get_unqualified.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_guard.hpp>
|
||||
#include <sol/stack_guard.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_iterator.hpp>
|
||||
#include <sol/stack_iterator.hpp>
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_pop.hpp>
|
||||
// sol3
|
||||
|
||||
// The MIT License (MIT)
|
||||
|
||||
// Copyright (c) 2013-2018 Rapptz, ThePhD and contributors
|
||||
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
// this software and associated documentation files (the "Software"), to deal in
|
||||
// the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
//#include <sol/stack_pop.hpp>
|
||||
#include <sol/stack.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_probe.hpp>
|
||||
#include <sol/stack_probe.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_proxy.hpp>
|
||||
#include <sol/stack_proxy.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_proxy_base.hpp>
|
||||
#include <sol/stack_proxy_base.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\stack_reference.hpp>
|
||||
#include <sol/stack_reference.hpp>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sol\state.hpp>
|
||||
#include <sol/state.hpp>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sol\state_view.hpp>
|
||||
#include <sol/state_view.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\string_view.hpp>
|
||||
#include <sol/string_view.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\table.hpp>
|
||||
#include <sol/table.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\table_core.hpp>
|
||||
#include <sol/table_core.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\table_iterator.hpp>
|
||||
#include <sol/table_iterator.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\tie.hpp>
|
||||
#include <sol/tie.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\traits.hpp>
|
||||
#include <sol/traits.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\trampoline.hpp>
|
||||
#include <sol/trampoline.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\tuple.hpp>
|
||||
#include <sol/tuple.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\types.hpp>
|
||||
#include <sol/types.hpp>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#include "sol_defines.hpp"
|
||||
|
||||
#include <sol\unicode.hpp>
|
||||
#include <sol/unicode.hpp>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user