From: Thomas Geymayer Date: Wed, 4 Jun 2014 11:41:48 +0000 (+0200) Subject: This has to work on windows now^^ X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4931ce03642cdcc7b620c4dd7734f2f2ce241904;p=simgear.git This has to work on windows now^^ --- diff --git a/simgear/nasal/cppbind/Ghost.hxx b/simgear/nasal/cppbind/Ghost.hxx index 8e0eda0d..bee615f1 100644 --- a/simgear/nasal/cppbind/Ghost.hxx +++ b/simgear/nasal/cppbind/Ghost.hxx @@ -1197,10 +1197,10 @@ namespace nasal /** * Callback for retrieving a ghost member. */ - static const char* getMember( naContext c, - raw_type& obj, - naRef key, - naRef* out ) + static const char* getMemberImpl( naContext c, + raw_type& obj, + naRef key, + naRef* out ) { const std::string key_str = nasal::from_nasal(c, key); // TODO merge instance parents with static class parents @@ -1240,16 +1240,16 @@ namespace nasal naRef* out ) { strong_ref const& ptr = getPtr(ghost); - return getMember(c, *get_pointer(ptr), key, out); + return getMemberImpl(c, *get_pointer(ptr), key, out); } /** * Callback for writing to a ghost member. */ - static void setMember( naContext c, - raw_type& obj, - naRef field, - naRef val ) + static void setMemberImpl( naContext c, + raw_type& obj, + naRef field, + naRef val ) { const std::string key = nasal::from_nasal(c, field); const MemberMap& members = getSingletonPtr()->_members; @@ -1278,7 +1278,7 @@ namespace nasal naRef val ) { strong_ref const& ptr = getPtr(ghost); - return setMember(c, *get_pointer(ptr), field, val); + return setMemberImpl(c, *get_pointer(ptr), field, val); } };