[svn:parrot] r38327 - branches/pmc_pct/src/pmc
bacek at svn.parrot.org
bacek at svn.parrot.org
Fri Apr 24 15:28:53 UTC 2009
Author: bacek
Date: Fri Apr 24 15:28:52 2009
New Revision: 38327
URL: https://trac.parrot.org/parrot/changeset/38327
Log:
[cage] Fix RSA VTABLE and METHOD declarations.
Modified:
branches/pmc_pct/src/pmc/resizablestringarray.pmc
Modified: branches/pmc_pct/src/pmc/resizablestringarray.pmc
==============================================================================
--- branches/pmc_pct/src/pmc/resizablestringarray.pmc Fri Apr 24 15:28:26 2009 (r38326)
+++ branches/pmc_pct/src/pmc/resizablestringarray.pmc Fri Apr 24 15:28:52 2009 (r38327)
@@ -372,7 +372,7 @@
*/
- void push_pmc(PMC *value) {
+ VTABLE void push_pmc(PMC *value) {
STRING *strvalue = VTABLE_get_string(INTERP, value);
SELF.push_string(strvalue);
}
@@ -484,7 +484,7 @@
*/
- void unshift_pmc(PMC *value) {
+ VTABLE void unshift_pmc(PMC *value) {
STRING *strvalue = VTABLE_get_string(INTERP, value);
SELF.unshift_string(strvalue);
}
@@ -592,7 +592,7 @@
*/
- void splice(PMC *value, INTVAL offset, INTVAL count) {
+ VTABLE void splice(PMC *value, INTVAL offset, INTVAL count) {
INTVAL length, elems, shift, i;
@@ -652,12 +652,12 @@
*/
- METHOD PMC* shift() {
+ METHOD shift() {
PMC *value = SELF.shift_pmc();
RETURN(PMC *value);
}
- METHOD PMC* pop() {
+ METHOD pop() {
PMC *value = SELF.pop_pmc();
RETURN(PMC *value);
}
More information about the parrot-commits
mailing list