[svn:parrot] r38628 - trunk/src
petdance at svn.parrot.org
petdance at svn.parrot.org
Sat May 9 05:35:25 UTC 2009
Author: petdance
Date: Sat May 9 05:35:24 2009
New Revision: 38628
URL: https://trac.parrot.org/parrot/changeset/38628
Log:
consting and fixing indentation
Modified:
trunk/src/hash.c
Modified: trunk/src/hash.c
==============================================================================
--- trunk/src/hash.c Sat May 9 04:37:02 2009 (r38627)
+++ trunk/src/hash.c Sat May 9 05:35:24 2009 (r38628)
@@ -460,7 +460,7 @@
parrot_mark_hash_values(PARROT_INTERP, ARGIN(Hash *hash))
{
ASSERT_ARGS(parrot_mark_hash_values)
- UINTVAL entries = hash->entries;
+ const UINTVAL entries = hash->entries;
UINTVAL found = 0;
INTVAL i;
@@ -469,7 +469,7 @@
while (bucket) {
if (++found > entries)
- Parrot_ex_throw_from_c_args(interp, NULL, 1,
+ Parrot_ex_throw_from_c_args(interp, NULL, 1,
"Detected hash corruption at hash %p entries %d",
hash, (int)entries);
@@ -496,7 +496,7 @@
parrot_mark_hash_both(PARROT_INTERP, ARGIN(Hash *hash))
{
ASSERT_ARGS(parrot_mark_hash_both)
- UINTVAL entries = hash->entries;
+ const UINTVAL entries = hash->entries;
UINTVAL found = 0;
INTVAL i;
More information about the parrot-commits
mailing list