develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r36132 - in branches/pdd28str_part2: include/parrot src src/string

From:
allison
Date:
January 28, 2009 20:54
Subject:
[svn:parrot] r36132 - in branches/pdd28str_part2: include/parrot src src/string
Message ID:
20090129045339.A0830CB9AE@x12.develooper.com
Author: allison
Date: Wed Jan 28 20:53:38 2009
New Revision: 36132

Modified:
   branches/pdd28str_part2/include/parrot/string_funcs.h
   branches/pdd28str_part2/src/inter_create.c
   branches/pdd28str_part2/src/string/api.c

Log:
[pdd28str] Renaming 'Parrot_str_init'.


Modified: branches/pdd28str_part2/include/parrot/string_funcs.h
==============================================================================
--- branches/pdd28str_part2/include/parrot/string_funcs.h	(original)
+++ branches/pdd28str_part2/include/parrot/string_funcs.h	Wed Jan 28 20:53:38 2009
@@ -325,7 +325,7 @@
         __attribute__nonnull__(2);
 
 PARROT_EXPORT
-void string_init(PARROT_INTERP)
+void Parrot_str_init(PARROT_INTERP)
         __attribute__nonnull__(1);
 
 PARROT_EXPORT
@@ -654,7 +654,7 @@
 #define ASSERT_ARGS_string_index __attribute__unused__ int _ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp) \
     || PARROT_ASSERT_ARG(s)
-#define ASSERT_ARGS_string_init __attribute__unused__ int _ASSERT_ARGS_CHECK = \
+#define ASSERT_ARGS_Parrot_str_init __attribute__unused__ int _ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp)
 #define ASSERT_ARGS_string_join __attribute__unused__ int _ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp) \

Modified: branches/pdd28str_part2/src/inter_create.c
==============================================================================
--- branches/pdd28str_part2/src/inter_create.c	(original)
+++ branches/pdd28str_part2/src/inter_create.c	Wed Jan 28 20:53:38 2009
@@ -176,7 +176,7 @@
      * Set up the string subsystem
      * This also generates the constant string tables
      */
-    string_init(interp);
+    Parrot_str_init(interp);
 
     /* Set up the MMD struct */
     interp->binop_mmd_funcs = NULL;

Modified: branches/pdd28str_part2/src/string/api.c
==============================================================================
--- branches/pdd28str_part2/src/string/api.c	(original)
+++ branches/pdd28str_part2/src/string/api.c	Wed Jan 28 20:53:38 2009
@@ -270,7 +270,7 @@
 
 =over 4
 
-=item C<void string_init>
+=item C<void Parrot_str_init>
 
 Initializes the Parrot string subsystem.
 
@@ -280,9 +280,9 @@
 
 PARROT_EXPORT
 void
-string_init(PARROT_INTERP)
+Parrot_str_init(PARROT_INTERP)
 {
-    ASSERT_ARGS(string_init)
+    ASSERT_ARGS(Parrot_str_init)
     Hash        *const_cstring_hash;
     size_t       i;
     const size_t n_parrot_cstrings =



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About