summaryrefslogtreecommitdiff
path: root/devel/luabind/files/patch-luabind-detail-format__signature.hpp
blob: 23ff4701112c5ccb0277db00a3836d7cc218c875 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
commit 3044a9053ac50977684a75c4af42b2bddb853fad
Author: Daniel Wallin <daniel@boostpro.com>
Date:   Mon Oct 11 14:33:23 2010 +0200

    Proper forward declarations for object wrappers. Now builds on clang!

diff --git luabind/detail/format_signature.hpp luabind/detail/format_signature.hpp
index 56e7963..b447bc9 100644
--- luabind/detail/format_signature.hpp
+++ luabind/detail/format_signature.hpp
@@ -13,12 +13,19 @@
 # include <boost/mpl/next.hpp>
 # include <boost/mpl/size.hpp>
 
-namespace luabind {
+namespace luabind { namespace adl
+{
 
-class object;
-class argument;
-template <class Base>
-struct table;
+  class object;
+  class argument;
+  template <class Base>
+  struct table;
+
+} // namespace adl
+
+using adl::object;
+using adl::argument;
+using adl::table;
 
 } // namespace luabind