From fa784cd5aedfe569f89335dc2eb0717fc0369e84 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Sun, 10 Aug 2003 10:50:19 +0000 Subject: [PATCH] fix void* issues with vc6/7 --- luabind/detail/decorate_type.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/luabind/detail/decorate_type.hpp b/luabind/detail/decorate_type.hpp index 2f7d0c7..bb144c4 100644 --- a/luabind/detail/decorate_type.hpp +++ b/luabind/detail/decorate_type.hpp @@ -204,6 +204,16 @@ namespace luabind { namespace detail #endif }; + template<> + struct decorated_type_value_impl + { + static by_value get(int) + { + return by_value(); + } + static int data() { return 0; } + }; + template struct decorated_type_array_impl { -- 2.11.4.GIT