[svn:parrot] r44434 - in trunk: docs ext/Parrot-Embed/lib/Parrot
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Wed Feb 24 01:48:19 UTC 2010
Author: plobsing
Date: Wed Feb 24 01:48:18 2010
New Revision: 44434
URL: https://trac.parrot.org/parrot/changeset/44434
Log:
remove last references to Parrot_call_sub() and Parrot_call_sub_ret_int() that have already been removed
Modified:
trunk/docs/embed.pod
trunk/ext/Parrot-Embed/lib/Parrot/Embed.xs
Modified: trunk/docs/embed.pod
==============================================================================
--- trunk/docs/embed.pod Wed Feb 24 01:39:38 2010 (r44433)
+++ trunk/docs/embed.pod Wed Feb 24 01:48:18 2010 (r44434)
@@ -340,14 +340,6 @@
with return values are passed as references in the varargs list, after all
arguments.
-=item [DEPRECATED] C<void *Parrot_call_sub(PARROT_INTERP, Parrot_PMC sub, const_char *signature)>
-
-Call a Parrot subroutine that returns a pointer using the supplied signature.
-
-=item [DEPRECATED] C<Parrot_Int Parrot_call_sub_ret_int(PARROT_INTERP, Parrot_PMC sub, const_char *signature)>
-
-Call a Parrot subroutine that returns an integer using the supplied signature.
-
=back
=head2 Objects
@@ -490,7 +482,7 @@
sub = Parrot_find_global_cur(interp, pstr);
/* run foo(), which returns nothing */
- Parrot_call_sub(interp, sub, "v");
+ Parrot_ext_call(interp, sub, "->");
Parrot_destroy(interp);
@@ -587,10 +579,6 @@
=item C<Parrot_ext_call>
-=item [DEPRECATED] C<Parrot_call_sub>
-
-=item [DEPRECATED] C<Parrot_call_sub_ret_int>
-
=item C<Parrot_char_digit_value>
=item C<Parrot_charset_c_name>
Modified: trunk/ext/Parrot-Embed/lib/Parrot/Embed.xs
==============================================================================
--- trunk/ext/Parrot-Embed/lib/Parrot/Embed.xs Wed Feb 24 01:39:38 2010 (r44433)
+++ trunk/ext/Parrot-Embed/lib/Parrot/Embed.xs Wed Feb 24 01:48:18 2010 (r44434)
@@ -223,7 +223,7 @@
pmc_actual = pmc->pmc;
interp = get_interp( pmc->interp );
arg_string = Parrot_str_new_constant( interp, argument );
- out_pmc = Parrot_call_sub( interp, pmc_actual, signature, arg_string );
+ Parrot_ext_call( interp, pmc_actual, signature, arg_string, &out_pmc );
RETVAL = make_pmc( aTHX_ pmc->interp, out_pmc );
OUTPUT:
RETVAL
More information about the parrot-commits
mailing list