From 3dca9b8a6862877fcd62e9f83c35510e19195ec1 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Fri, 19 Jan 2018 10:24:33 +0100 Subject: [PATCH] cppbind: Make Mac and Windows happy and add forward declaration --- simgear/nasal/cppbind/cppbind_fwd.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/simgear/nasal/cppbind/cppbind_fwd.hxx b/simgear/nasal/cppbind/cppbind_fwd.hxx index e081bddc..c57b8fbb 100644 --- a/simgear/nasal/cppbind/cppbind_fwd.hxx +++ b/simgear/nasal/cppbind/cppbind_fwd.hxx @@ -22,6 +22,7 @@ #include #include +#include namespace nasal { @@ -30,7 +31,7 @@ namespace nasal class Context; class ContextWrapper; class Hash; - class Me; + struct Me; class Object; class String; @@ -49,6 +50,9 @@ namespace nasal template struct from_nasal_ptr; + template + T get_member(naContext c, naRef obj, const std::string& name); + } // namespace nasal #endif /* SG_NASAL_CPPBIND_FWD_HXX_ */