Skip to content

Commit

Permalink
more reverts, make it work for Parrot r37197 again
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Apr 17, 2009
1 parent d76c493 commit 5a8157f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pmc/phpresource.pmc
Expand Up @@ -47,6 +47,8 @@ Sets the referenced PMC to C<initializer>.

*/
VTABLE void init_pmc(PMC *initializer) {
PMC_pmc_val(SELF) = initializer;
PObj_custom_mark_SET(SELF);
}

/*
Expand All @@ -59,6 +61,7 @@ Get the referenced PMC.

*/
VTABLE PMC *get_pmc() {
return PMC_pmc_val(SELF);
}

/*
Expand Down

0 comments on commit 5a8157f

Please sign in to comment.