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

chromatic at svn.parrot.org chromatic at svn.parrot.org
Fri Aug 6 21:19:43 UTC 2010


Author: chromatic
Date: Fri Aug  6 21:19:43 2010
New Revision: 48339
URL: https://trac.parrot.org/parrot/changeset/48339

Log:
[hash] Reverted unrelated changes from r48334.

Modified:
   trunk/include/parrot/hash.h

Modified: trunk/include/parrot/hash.h
==============================================================================
--- trunk/include/parrot/hash.h	Fri Aug  6 21:18:02 2010	(r48338)
+++ trunk/include/parrot/hash.h	Fri Aug  6 21:19:43 2010	(r48339)
@@ -373,19 +373,6 @@
         __attribute__nonnull__(4)
         __attribute__nonnull__(5);
 
-PARROT_CANNOT_RETURN_NULL
-PARROT_WARN_UNUSED_RESULT
-PARROT_MALLOC
-Hash * parrot_create_hash_sized(PARROT_INTERP,
-    PARROT_DATA_TYPE val_type,
-    Hash_key_type hkey_type,
-    NOTNULL(hash_comp_fn compare),
-    NOTNULL(hash_hash_key_fn keyhash),
-    UINTVAL size)
-        __attribute__nonnull__(1)
-        __attribute__nonnull__(4)
-        __attribute__nonnull__(5);
-
 void parrot_hash_clone_prunable(PARROT_INTERP,
     ARGIN(const Hash *hash),
     ARGOUT(Hash *dest),
@@ -535,10 +522,6 @@
        PARROT_ASSERT_ARG(interp) \
     , PARROT_ASSERT_ARG(compare) \
     , PARROT_ASSERT_ARG(keyhash))
-#define ASSERT_ARGS_parrot_create_hash_sized __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
-       PARROT_ASSERT_ARG(interp) \
-    , PARROT_ASSERT_ARG(compare) \
-    , PARROT_ASSERT_ARG(keyhash))
 #define ASSERT_ARGS_parrot_hash_clone_prunable __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \
     , PARROT_ASSERT_ARG(hash) \


More information about the parrot-commits mailing list