Message from discussion
extend.c:Parrot_call
Newsgroups: perl.perl6.internals
Path: g2news1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <l...@toetsch.at>
Mailing-List: contact perl6-internals-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-intern...@perl.org
Received: (qmail 24697 invoked from network); 28 Oct 2004 14:44:02 -0000
Received: from x1.develooper.com (63.251.223.170)
by lists.develooper.com with SMTP; 28 Oct 2004 14:44:02 -0000
Received: (qmail 9532 invoked by uid 225); 28 Oct 2004 14:44:01 -0000
Delivered-To: perl6-intern...@perl.org
Received: (qmail 9513 invoked by alias); 28 Oct 2004 14:44:00 -0000
X-Spam-Status: No, hits=-4.9 required=8.0
tests=BAYES_00
X-Spam-Check-By: la.mx.develooper.com
Received: from mail.nextra.at (HELO mail.nextra.at) (195.170.70.86)
by la.mx.develooper.com (qpsmtpd/0.27.1) with ESMTP; Thu, 28 Oct 2004 07:43:58 -0700
Received: from lux.leo.home (at24a01-dial-140.nextranet.at [195.170.73.140])
by mail.nextra.at (8.13.1/8.13.1) with ESMTP id i9SEhoEl001913
for <perl6-intern...@perl.org>; Thu, 28 Oct 2004 16:43:52 +0200 (MEST)
Received: from toetsch.at (unknown [192.168.1.130])
by lux.leo.home (Postfix on linux 2.0.36 (i386)) with ESMTP id 514A0118023
for <perl6-intern...@perl.org>; Thu, 28 Oct 2004 14:13:32 +0200 (MEST)
Message-ID: <4180E3FC.2060102@toetsch.at>
Date: Thu, 28 Oct 2004 14:20:12 +0200
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3
X-Accept-Language: en
MIME-Version: 1.0
To: Perl 6 Internals <perl6-intern...@perl.org>
Subject: Re: extend.c:Parrot_call
References: <417F7BE7.6030605@toetsch.at>
In-Reply-To: <417F7BE7.6030605@toetsch.at>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Approved: n...@nntp.perl.org
From: l...@toetsch.at (Leopold Toetsch)
Leopold Toetsch wrote:
> Parrot_call() runs a Parrot subroutine, but it takes PMC arguments only
> and provides no return value.
>
> If no one hollers, I'll replace this function with a more flexible set
> of functions that are wrappers to the *runops* functions in
> src/inter_run.c:
>
> void * Parrot_call_sub_(interp, sub, signature, ...) [1]
> Parrot_Int Parrot_call_sub_ret_int
> Parrot_Float Parrot_call_sub_ret_float
>
> void * Parrot_call_meth(interp, sub, object, meth, sig, ...)
Done that now. The latter is:
void * Parrot_call_method(interp, sub, object, meth, sig, ...)
and other 2 accordingly.
leo