[svn:parrot] r46828 - branches/ucs4_encoding/src/string/encoding

darbelo at svn.parrot.org darbelo at svn.parrot.org
Thu May 20 21:05:00 UTC 2010


Author: darbelo
Date: Thu May 20 21:05:00 2010
New Revision: 46828
URL: https://trac.parrot.org/parrot/changeset/46828

Log:
Add some ASSERT_ARGS() I had missed.

Modified:
   branches/ucs4_encoding/src/string/encoding/ucs4.c

Modified: branches/ucs4_encoding/src/string/encoding/ucs4.c
==============================================================================
--- branches/ucs4_encoding/src/string/encoding/ucs4.c	Thu May 20 20:49:34 2010	(r46827)
+++ branches/ucs4_encoding/src/string/encoding/ucs4.c	Thu May 20 21:05:00 2010	(r46828)
@@ -256,6 +256,8 @@
 find_cclass(PARROT_INTERP, ARGIN(const STRING *s), ARGIN(const INTVAL *typetable),
 INTVAL flags, UINTVAL pos, UINTVAL end)
 {
+    ASSERT_ARGS(find_cclass)
+
     UNUSED(s);
     UNUSED(typetable);
     UNUSED(flags);
@@ -325,6 +327,7 @@
 static STRING *
 get_codepoints(PARROT_INTERP, ARGIN(const STRING *src), UINTVAL offset, UINTVAL count)
 {
+    ASSERT_ARGS(get_codepoints)
     return Parrot_str_new_init(interp, (char*)src->strstart + offset * sizeof (UChar32),
                                count * sizeof (UChar32), src->encoding, src->charset, 0);
 }
@@ -546,6 +549,7 @@
 void
 Parrot_encoding_ucs4_init(PARROT_INTERP)
 {
+    ASSERT_ARGS(Parrot_encoding_ucs4_init)
     ENCODING * const return_encoding = Parrot_new_encoding(interp);
 
     static const ENCODING base_encoding = {


More information about the parrot-commits mailing list