[svn:parrot] r48712 - in trunk/src: . pmc

nwellnhof at svn.parrot.org nwellnhof at svn.parrot.org
Sat Aug 28 14:38:14 UTC 2010


Author: nwellnhof
Date: Sat Aug 28 14:38:14 2010
New Revision: 48712
URL: https://trac.parrot.org/parrot/changeset/48712

Log:
codetest fixes

Modified:
   trunk/src/hash.c
   trunk/src/pmc/hash.pmc

Modified: trunk/src/hash.c
==============================================================================
--- trunk/src/hash.c	Sat Aug 28 13:14:03 2010	(r48711)
+++ trunk/src/hash.c	Sat Aug 28 14:38:14 2010	(r48712)
@@ -155,7 +155,8 @@
 
 PARROT_WARN_UNUSED_RESULT
 int
-hash_compare_string(PARROT_INTERP, ARGIN(const void *search_key), ARGIN_NULLOK(const void *bucket_key))
+hash_compare_string(PARROT_INTERP, ARGIN(const void *search_key),
+        ARGIN_NULLOK(const void *bucket_key))
 {
     ASSERT_ARGS(hash_compare_string)
     STRING const *s1 = (STRING const *)search_key;

Modified: trunk/src/pmc/hash.pmc
==============================================================================
--- trunk/src/pmc/hash.pmc	Sat Aug 28 13:14:03 2010	(r48711)
+++ trunk/src/pmc/hash.pmc	Sat Aug 28 14:38:14 2010	(r48712)
@@ -71,7 +71,7 @@
 
 /*
 
-=item C<void init()>
+=item C<static PMC* get_next_hash(PARROT_INTERP, Hash *hash, void *key)>
 
 Get the next hash for multipart keys. Autovivify a hash if it doesn't exist.
 
@@ -84,6 +84,7 @@
 static PMC*
 get_next_hash(PARROT_INTERP, ARGMOD(Hash *hash), ARGIN(void *key))
 {
+    ASSERT_ARGS(get_next_hash)
     PMC        *next_hash;
     HashBucket *bucket;
 


More information about the parrot-commits mailing list