[svn:parrot] r38396 - trunk/config/gen/crypto
cotto at svn.parrot.org
cotto at svn.parrot.org
Wed Apr 29 05:00:38 UTC 2009
Author: cotto
Date: Wed Apr 29 05:00:37 2009
New Revision: 38396
URL: https://trac.parrot.org/parrot/changeset/38396
Log:
[PMC] add VTABLE decorations to functions in the geneated md* and sha* PMCs
Modified:
trunk/config/gen/crypto/digest_pmc.in
Modified: trunk/config/gen/crypto/digest_pmc.in
==============================================================================
--- trunk/config/gen/crypto/digest_pmc.in Wed Apr 29 04:15:17 2009 (r38395)
+++ trunk/config/gen/crypto/digest_pmc.in Wed Apr 29 05:00:37 2009 (r38396)
@@ -33,7 +33,7 @@
=cut
*/
- void init() {
+ VTABLE void init() {
@TEMP_md_guard@
@TEMP_md_ctx@ *c = mem_allocate_zeroed_typed(@TEMP_md_ctx@);
PMC_data(SELF) = c;
@@ -51,7 +51,7 @@
=cut
*/
- void destroy() {
+ VTABLE void destroy() {
@TEMP_md_guard@
@TEMP_md_ctx@ *c = PMC_data_typed(SELF, @TEMP_md_ctx@ *);
if (c) {
@@ -68,7 +68,7 @@
=cut
*/
- PMC* clone() {
+ VTABLE PMC* clone() {
@TEMP_md_guard@
PMC *retval = pmc_new_noinit(INTERP, SELF->vtable->base_type);
@TEMP_md_ctx@ *c = mem_allocate_zeroed_typed(@TEMP_md_ctx@);
More information about the parrot-commits
mailing list