[svn:parrot] r44297 - trunk/runtime/parrot/library
fperrad at svn.parrot.org
fperrad at svn.parrot.org
Mon Feb 22 15:59:28 UTC 2010
Author: fperrad
Date: Mon Feb 22 15:59:26 2010
New Revision: 44297
URL: https://trac.parrot.org/parrot/changeset/44297
Log:
[distutils] add a variant of setup (helper for nqp)
Modified:
trunk/runtime/parrot/library/distutils.pir
Modified: trunk/runtime/parrot/library/distutils.pir
==============================================================================
--- trunk/runtime/parrot/library/distutils.pir Mon Feb 22 15:08:10 2010 (r44296)
+++ trunk/runtime/parrot/library/distutils.pir Mon Feb 22 15:59:26 2010 (r44297)
@@ -328,7 +328,7 @@
=cut
-.sub 'setup'
+.sub 'setup' :multi()
.param pmc args :slurpy
.param pmc kv :slurpy :named
.local pmc steps
@@ -374,6 +374,12 @@
rethrow ex
.end
+.sub 'setup' :multi(ResizableStringArray,Hash)
+ .param pmc array
+ .param pmc hash
+ .tailcall setup(array :flat, hash :flat :named)
+.end
+
=item run_step
Call a step by its name.
More information about the parrot-commits
mailing list