/
usr
/
include
/
luabind
/
/usr/include/luabind
mkdir
upload
Name
Size
Mode
Actions
detail/
-
0755
rm
adopt_policy.hpp
5091
0644
edit
dl
rm
back_reference.hpp
3111
0644
edit
dl
rm
back_reference_fwd.hpp
1495
0644
edit
dl
rm
build_information.hpp
2015
0644
edit
dl
rm
class.hpp
27490
0644
edit
dl
rm
class_info.hpp
1704
0644
edit
dl
rm
config.hpp
5232
0644
edit
dl
rm
container_policy.hpp
4951
0644
edit
dl
rm
copy_policy.hpp
1313
0644
edit
dl
rm
dependency_policy.hpp
2691
0644
edit
dl
rm
discard_result_policy.hpp
2512
0644
edit
dl
rm
error.hpp
3345
0644
edit
dl
rm
error_callback_fun.hpp
1750
0644
edit
dl
rm
exception_handler.hpp
2086
0644
edit
dl
rm
from_stack.hpp
1485
0644
edit
dl
rm
function.hpp
1519
0644
edit
dl
rm
function_converter.hpp
4021
0644
edit
dl
rm
function_introspection.hpp
1949
0644
edit
dl
rm
get_main_thread.hpp
522
0644
edit
dl
rm
get_pointer.hpp
1554
0644
edit
dl
rm
handle.hpp
4218
0644
edit
dl
rm
intrusive_ptr_converter.hpp
1789
0644
edit
dl
rm
iterator_policy.hpp
2982
0644
edit
dl
rm
luabind.hpp
1356
0644
edit
dl
rm
lua_include.hpp
2665
0644
edit
dl
rm
lua_state_fwd.hpp
1357
0644
edit
dl
rm
make_function.hpp
3238
0644
edit
dl
rm
nil.hpp
1368
0644
edit
dl
rm
no_dependency.hpp
903
0644
edit
dl
rm
object.hpp
1291
0644
edit
dl
rm
object_fwd.hpp
331
0644
edit
dl
rm
open.hpp
1371
0644
edit
dl
rm
operator.hpp
8993
0644
edit
dl
rm
out_value_policy.hpp
12029
0644
edit
dl
rm
prefix.hpp
1265
0644
edit
dl
rm
raw_policy.hpp
2426
0644
edit
dl
rm
return_reference_to_policy.hpp
2661
0644
edit
dl
rm
scope.hpp
2944
0644
edit
dl
rm
set_package_preload.hpp
2452
0644
edit
dl
rm
shared_ptr_converter.hpp
5274
0644
edit
dl
rm
stack.hpp
4016
0644
edit
dl
rm
std_shared_ptr_converter.hpp
2271
0644
edit
dl
rm
tag_function.hpp
1622
0644
edit
dl
rm
typeid.hpp
2498
0644
edit
dl
rm
value_wrapper.hpp
4241
0644
edit
dl
rm
version.hpp
513
0644
edit
dl
rm
weak_ref.hpp
1834
0644
edit
dl
rm
wrapper_base.hpp
5987
0644
edit
dl
rm
yield_policy.hpp
1734
0644
edit
dl
rm
Edit:
/usr/include/luabind/std_shared_ptr_converter.hpp
(2271B)
// Copyright Christian Neumüller 2012. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef LUABIND_STD_SHAREDPTR_CONVERTER_HPP_INCLUDED #define LUABIND_STD_SHAREDPTR_CONVERTER_HPP_INCLUDED LUABIND_STD_SHAREDPTR_CONVERTER_HPP_INCLUDED #include <boost/config.hpp> #if defined(LUABIND_NO_STD_SHARED_PTR) \ || defined(BOOST_NO_CXX11_SMART_PTR) \ && !defined(BOOST_HAS_TR1_SHARED_PTR) \ && (!defined(BOOST_MSVC) || BOOST_MSVC < 1600) # ifndef LUABIND_NO_STD_SHARED_PTR # define LUABIND_NO_STD_SHARED_PTR # endif #else # include <luabind/shared_ptr_converter.hpp> # include <memory> // shared_ptr # if BOOST_VERSION >= 105300 # include <luabind/detail/has_get_pointer.hpp> # include <boost/get_pointer.hpp> namespace luabind { namespace detail { namespace has_get_pointer_ { template<class T> struct impl<std::shared_ptr<T>> { BOOST_STATIC_CONSTANT(bool, value = true); typedef boost::mpl::bool_<value> type; }; template<class T> struct impl<const std::shared_ptr<T>>: impl<std::shared_ptr<T>> { }; template<class T> struct impl<volatile std::shared_ptr<T>>: impl<std::shared_ptr<T>> { }; template<class T> struct impl<const volatile std::shared_ptr<T>>: impl<std::shared_ptr<T>> { }; }} using boost::get_pointer; } # else // if BOOST_VERSION < 105300 // Not standard conforming: add function to ::std(::tr1) namespace std { # if defined(_MSC_VER) && _MSC_VER < 1700 namespace tr1 { # endif template<class T> T * get_pointer(shared_ptr<T> const& p) { return p.get(); } # if defined(_MSC_VER) && _MSC_VER < 1700 } // namespace tr1 # endif } // namespace std #endif // if BOOST_VERSION < 105300 / else namespace luabind { using std::get_deleter; template <typename T> struct default_converter<std::shared_ptr<T> >: detail::shared_ptr_converter<std::shared_ptr<T> > {}; template <typename T> struct default_converter<std::shared_ptr<T> const&>: detail::shared_ptr_converter<std::shared_ptr<T> > {}; } // namespace luabind #endif // if smart pointers are available #endif // LUABIND_STD_SHAREDPTR_CONVERTER_HPP_INCLUDED
Save
cmd:
run