mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
-.- Macros.
This commit is contained in:
parent
90ea495d4c
commit
4e029b7a00
@ -27,7 +27,7 @@
|
||||
#include "stack.hpp"
|
||||
#include "stack_proxy.hpp"
|
||||
#include "proxy_base.hpp"
|
||||
#include <limits>
|
||||
#include <cstdint>
|
||||
|
||||
namespace sol {
|
||||
struct function_result : public proxy_base<function_result> {
|
||||
@ -78,7 +78,7 @@ public:
|
||||
};
|
||||
|
||||
template <>
|
||||
struct bond_size<function_result> : std::integral_constant<std::size_t, SIZE_T_MAX> {};
|
||||
struct bond_size<function_result> : std::integral_constant<std::size_t, SIZE_MAX> {};
|
||||
|
||||
template <std::size_t I>
|
||||
stack_proxy get(const function_result& fr) {
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "stack.hpp"
|
||||
#include "proxy_base.hpp"
|
||||
#include "stack_proxy.hpp"
|
||||
#include <limits>
|
||||
#include <cstdint>
|
||||
|
||||
namespace sol {
|
||||
struct protected_function_result : public proxy_base<protected_function_result> {
|
||||
@ -128,7 +128,7 @@ public:
|
||||
};
|
||||
|
||||
template <>
|
||||
struct bond_size<protected_function_result> : std::integral_constant<std::size_t, SIZE_T_MAX> {};
|
||||
struct bond_size<protected_function_result> : std::integral_constant<std::size_t, SIZE_MAX> {};
|
||||
|
||||
template <std::size_t I>
|
||||
stack_proxy get(const protected_function_result& fr) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user