]> git.mxchange.org Git - simgear.git/commitdiff
Strange, somehow missed this file in last commit.
authorJames Turner <zakalawe@mac.com>
Sat, 28 Apr 2012 22:08:05 +0000 (23:08 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 28 Apr 2012 22:08:05 +0000 (23:08 +0100)
simgear/nasal/hash.c

index bb7ce785748a4ede78ab963254f34469cc9b9582..3679a0ca7685134afc0f4e039019c095f14569e4 100644 (file)
@@ -186,11 +186,11 @@ static void tmpStr(naRef* out, struct naStr* str, const char* key)
     SETPTR(*out, str);
 }
 
-int naMember_cget(naRef obj, const char* field, naRef* out)
+int naMember_cget(naContext c, naRef obj, const char* field, naRef* out)
 {
     naRef key; struct naStr str;
     tmpStr(&key, &str, field);
-    return naMember_get(obj, key, out);
+    return naMember_get(c, obj, key, out);
 }
 
 naRef naHash_cget(naRef hash, char* key)