[svn:parrot] r49179 - trunk/include/parrot

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Mon Sep 20 17:47:44 UTC 2010


Author: jkeenan
Date: Mon Sep 20 17:47:44 2010
New Revision: 49179
URL: https://trac.parrot.org/parrot/changeset/49179

Log:
[codingstd] wrap c macro args (2 locations).

Modified:
   trunk/include/parrot/hash.h

Modified: trunk/include/parrot/hash.h
==============================================================================
--- trunk/include/parrot/hash.h	Mon Sep 20 16:37:03 2010	(r49178)
+++ trunk/include/parrot/hash.h	Mon Sep 20 17:47:44 2010	(r49179)
@@ -105,9 +105,9 @@
     if ((_hash)->key_type == Hash_key_type_int                              \
     ||  (_hash)->key_type == Hash_key_type_cstring                          \
     ||  (_hash)->key_type == Hash_key_type_ptr)                             \
-        parrot_hash_iterate_indexed(_hash, _code)                           \
+        parrot_hash_iterate_indexed((_hash), _code)                           \
     else                                                                    \
-        parrot_hash_iterate_linear(_hash, _code)                            \
+        parro(_hash_iterate_linear((_hash), _code)                            \
 }
 
 typedef void (*value_free)(ARGFREE(void *));


More information about the parrot-commits mailing list