[svn:parrot] r37623 - trunk/src/pmc
cotto at svn.parrot.org
cotto at svn.parrot.org
Sat Mar 21 19:22:33 UTC 2009
Author: cotto
Date: Sat Mar 21 19:22:33 2009
New Revision: 37623
URL: https://trac.parrot.org/parrot/changeset/37623
Log:
[PMC] use PMC inheritance instead of calling Hash PMC functions directly
Modified:
trunk/src/pmc/lexinfo.pmc
Modified: trunk/src/pmc/lexinfo.pmc
==============================================================================
--- trunk/src/pmc/lexinfo.pmc Sat Mar 21 18:56:20 2009 (r37622)
+++ trunk/src/pmc/lexinfo.pmc Sat Mar 21 19:22:33 2009 (r37623)
@@ -29,7 +29,7 @@
* needed (except for freeze/thaw
*/
-pmclass LexInfo need_ext provides hash no_ro {
+pmclass LexInfo extends Hash need_ext provides hash no_ro {
/*
@@ -172,13 +172,6 @@
*/
- VTABLE void visit(visit_info *info) {
- Parrot_Hash_visit(INTERP, SELF, info);
- }
-
- VTABLE void freeze(visit_info *info) {
- Parrot_Hash_freeze(INTERP, SELF, info);
- }
VTABLE void thaw(visit_info *info) {
IMAGE_IO * const io = info->image_io;
More information about the parrot-commits
mailing list