[svn:parrot] r41536 - in branches/pcc_arg_unify_2_0: src/pmc tools/build

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sun Sep 27 19:15:55 UTC 2009


Author: whiteknight
Date: Sun Sep 27 19:15:54 2009
New Revision: 41536
URL: https://trac.parrot.org/parrot/changeset/41536

Log:
[misc] replace old reference to PObj_strstart with newer Buffer_bufstart. Enables build on this platform

Modified:
   branches/pcc_arg_unify_2_0/src/pmc/nci.pmc
   branches/pcc_arg_unify_2_0/tools/build/nativecall.pl

Modified: branches/pcc_arg_unify_2_0/src/pmc/nci.pmc
==============================================================================
--- branches/pcc_arg_unify_2_0/src/pmc/nci.pmc	Sun Sep 27 18:36:08 2009	(r41535)
+++ branches/pcc_arg_unify_2_0/src/pmc/nci.pmc	Sun Sep 27 19:15:54 2009	(r41536)
@@ -72,8 +72,8 @@
             case (INTVAL)'@':
                 param_sig[j++] = '@';
                 break;
-            case (INTVAL)'b':   /* buffer (void*) pass PObj_bufstart(SReg) */
-            case (INTVAL)'B':   /* buffer (void**) pass &PObj_bufstart(SReg) */
+            case (INTVAL)'b':   /* buffer (void*) pass Buffer_bufstart(SReg)
+            case (INTVAL)'B':   /* buffer (void**) pass &Buffer_bufstart(SReg) */
                 param_sig[j++] = 'S';
                 break;
             default:

Modified: branches/pcc_arg_unify_2_0/tools/build/nativecall.pl
==============================================================================
--- branches/pcc_arg_unify_2_0/tools/build/nativecall.pl	Sun Sep 27 18:36:08 2009	(r41535)
+++ branches/pcc_arg_unify_2_0/tools/build/nativecall.pl	Sun Sep 27 19:15:54 2009	(r41536)
@@ -309,7 +309,7 @@
     /b/ && do {
         push @{$temps_ref},          "STRING *t_$temp_num;";
         push @{$fill_params_ref},    "&t_$temp_num";
-        return "PObj_bufstart(t_$temp_num)";
+        return "Buffer_bufstart(t_$temp_num)";
     };
     /B/ && do {
         push @{$temps_ref},           "char *s_$temp_num;";


More information about the parrot-commits mailing list