[svn:parrot] r49081 - branches/stdhandle_meths/tools/dev

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Fri Sep 17 13:19:07 UTC 2010


Author: whiteknight
Date: Fri Sep 17 13:19:06 2010
New Revision: 49081
URL: https://trac.parrot.org/parrot/changeset/49081

Log:
update uses in nci_thunk_gen.pir

Modified:
   branches/stdhandle_meths/tools/dev/nci_thunk_gen.pir

Modified: branches/stdhandle_meths/tools/dev/nci_thunk_gen.pir
==============================================================================
--- branches/stdhandle_meths/tools/dev/nci_thunk_gen.pir	Fri Sep 17 13:16:01 2010	(r49080)
+++ branches/stdhandle_meths/tools/dev/nci_thunk_gen.pir	Fri Sep 17 13:19:06 2010	(r49081)
@@ -49,7 +49,7 @@
     $P0.'open'($S0, 'w')
     $P1 = getinterp
     .include 'stdio.pasm'
-    $P1.'stdhandle'(.PIO_STDOUT_FILENO, $P0)
+    $P1.'stdout_handle'($P0)
 
     if targ == 'head'          goto get_targ
     if targ == 'thunks'        goto get_targ
@@ -720,7 +720,7 @@
     .local pmc stdin, seen, sigs
     $P0 = getinterp
     .include 'stdio.pasm'
-    stdin = $P0.'stdhandle'(.PIO_STDIN_FILENO)
+    stdin = $P0.'stdin_handle'()
     seen  = new ['Hash']
     sigs  = new ['ResizablePMCArray']
 
@@ -749,7 +749,7 @@
 ERROR
                 $P0 = getinterp
                 .include 'stdio.pasm'
-                $P1 = $P0.'stdhandle'(.PIO_STDERR_FILENO)
+                $P1 = $P0.'stderr_handle'()
                 $P1.'print'($S0)
             end_dup_warn:
             goto read_loop


More information about the parrot-commits mailing list