// The MIT License (MIT) // Copyright (c) 2013-2017 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. #ifndef SOL_FORWARD_HPP #define SOL_FORWARD_HPP #include "feature_test.hpp" namespace sol { class reference; class stack_reference; template struct proxy; template class usertype; template class simple_usertype; template class basic_table_core; template using table_core = basic_table_core; template using stack_table_core = basic_table_core; template using basic_table = basic_table_core; typedef table_core table; typedef table_core global_table; typedef stack_table_core stack_table; typedef stack_table_core stack_global_table; template struct basic_environment; using environment = basic_environment; using stack_environment = basic_environment; template class basic_function; template class basic_protected_function; using protected_function = basic_protected_function; using stack_protected_function = basic_protected_function; using unsafe_function = basic_function; using safe_function = basic_protected_function; using stack_unsafe_function = basic_function; using stack_safe_function = basic_protected_function; #ifdef SOL_SAFE_FUNCTIONS using function = protected_function; using stack_function = stack_protected_function; #else using function = unsafe_function; using stack_function = stack_unsafe_function; #endif template class basic_object; template class basic_userdata; template class basic_lightuserdata; struct variadic_args; using object = basic_object; using stack_object = basic_object; using userdata = basic_userdata; using stack_userdata = basic_userdata; using lightuserdata = basic_lightuserdata; using stack_lightuserdata = basic_lightuserdata; class coroutine; class thread; struct variadic_args; struct variadic_results; struct this_state; struct this_environment; template struct light; template struct user; template struct as_args_t; } // sol #endif SOL_FORWARD_HPP