[svn:parrot] r36594 - in trunk: . src

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Wed Feb 11 20:23:35 UTC 2009


Author: whiteknight
Date: Wed Feb 11 20:23:35 2009
New Revision: 36594
URL: https://trac.parrot.org/parrot/changeset/36594

Log:
[DEPRECATED] Add note about deprecating .HLL_map so we can have it ripped out by 1.0

Modified:
   trunk/DEPRECATED.pod
   trunk/src/global.c

Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod	Wed Feb 11 20:22:38 2009	(r36593)
+++ trunk/DEPRECATED.pod	Wed Feb 11 20:23:35 2009	(r36594)
@@ -112,6 +112,15 @@
 
 See TT #159
 
+=item C<.HLL_map>
+
+Languages should use this instead:
+
+  $P0 = getinterp
+  $P0.'hll_map'(TypeA, TypeB)
+
+See TT #314
+
 =back
 
 =head1 Functions

Modified: trunk/src/global.c
==============================================================================
--- trunk/src/global.c	Wed Feb 11 20:22:38 2009	(r36593)
+++ trunk/src/global.c	Wed Feb 11 20:23:35 2009	(r36594)
@@ -430,7 +430,7 @@
 {
     ASSERT_ARGS(Parrot_ns_get_name)
     PMC *names;
-    Parrot_PCCINVOKE(interp, _namespace, CONST_STRING(interp, "get_name"), "->P", &names);
+    Parrot_pcc_invoke_method_from_c_args(interp, _namespace, CONST_STRING(interp, "get_name"), "->P", &names);
     return names;
 }
 


More information about the parrot-commits mailing list