1 // Copyright Daniel Wallin 2010. Use, modification and distribution is
2 // subject to the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4 
5 #ifndef LUABIND_NO_DEPENDENCY_100324_HPP
6 # define LUABIND_NO_DEPENDENCY_100324_HPP
7 
8 # include <luabind/detail/policy.hpp>
9 
10 namespace luabind {
11 
12 namespace detail
13 {
14 
15   struct no_dependency_policy
16   {
precallluabind::detail::no_dependency_policy17       static void precall(lua_State*, index_map const&)
18       {}
19 
postcallluabind::detail::no_dependency_policy20       static void postcall(lua_State*, index_map const&)
21       {}
22   };
23 
24   typedef policy_cons<no_dependency_policy, null_type>
25       no_dependency_node;
26 
27 } // namespace detail
28 
29 detail::no_dependency_node const no_dependency = {};
30 
31 namespace detail
32 {
33 
ignore_unused_no_dependency()34   inline void ignore_unused_no_dependency()
35   {
36       (void)no_dependency;
37   }
38 
39 } // namespace detail
40 
41 } // namespace luabind
42 
43 #endif // LUABIND_NO_DEPENDENCY_100324_HPP
44