[svn:parrot] r38343 - branches/pmc_pct/src/pmc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sat Apr 25 10:07:19 UTC 2009
Author: bacek
Date: Sat Apr 25 10:07:18 2009
New Revision: 38343
URL: https://trac.parrot.org/parrot/changeset/38343
Log:
[cage] Add VTABLE to key.pmc
Modified:
branches/pmc_pct/src/pmc/key.pmc
Modified: branches/pmc_pct/src/pmc/key.pmc
==============================================================================
--- branches/pmc_pct/src/pmc/key.pmc Sat Apr 25 10:06:54 2009 (r38342)
+++ branches/pmc_pct/src/pmc/key.pmc Sat Apr 25 10:07:18 2009 (r38343)
@@ -255,7 +255,7 @@
*/
- void push_pmc(PMC *value) {
+ VTABLE void push_pmc(PMC *value) {
if (value->vtable->base_type != enum_class_Key)
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
"Can only push another Key onto a Key PMC.");
@@ -426,7 +426,7 @@
(info->visit_pmc_now)(INTERP, attrs->next_key, info);
}
- void freeze(visit_info *info) {
+ VTABLE void freeze(visit_info *info) {
IMAGE_IO * const io = info->image_io;
/* write flags */
@@ -457,7 +457,7 @@
}
}
- void thaw(visit_info *info) {
+ VTABLE void thaw(visit_info *info) {
IMAGE_IO * const io = info->image_io;
const INTVAL flags = VTABLE_shift_integer(INTERP, io) & KEY_type_FLAGS;
More information about the parrot-commits
mailing list