[svn:parrot] r38090 - branches/packfile_revamp/src/pmc
bacek at svn.parrot.org
bacek at svn.parrot.org
Mon Apr 13 00:39:18 UTC 2009
Author: bacek
Date: Mon Apr 13 00:39:18 2009
New Revision: 38090
URL: https://trac.parrot.org/parrot/changeset/38090
Log:
Add VTABLE elements to PackfileAnnotationKeys
Modified:
branches/packfile_revamp/src/pmc/packfileannotationkeys.pmc
Modified: branches/packfile_revamp/src/pmc/packfileannotationkeys.pmc
==============================================================================
--- branches/packfile_revamp/src/pmc/packfileannotationkeys.pmc Mon Apr 13 00:39:02 2009 (r38089)
+++ branches/packfile_revamp/src/pmc/packfileannotationkeys.pmc Mon Apr 13 00:39:18 2009 (r38090)
@@ -204,6 +204,20 @@
/*
+=item C<INTVAL elements()>
+
+Get the number of stored Keys.
+
+=cut
+
+*/
+ VTABLE INTVAL elements() {
+ return VTABLE_elements(interp,
+ PARROT_PACKFILEANNOTATIONKEYS(SELF)->names);
+ }
+
+/*
+
=item C<void set_constant_table()>
Set PackfileConstantTable associated with Keys.
More information about the parrot-commits
mailing list