Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add one more function to the REPR table (should be the final missing …
…one for REPR API 2).
  • Loading branch information
jnthn committed Nov 8, 2011
1 parent 5b2d884 commit 102de40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/6model/sixmodelobject.h
Expand Up @@ -222,6 +222,11 @@ struct SixModel_REPROps {
* can hold one. */
STRING * (*get_str) (PARROT_INTERP, STable *st, void *data);

/* Some objects serve primarily as boxes of others, inlining them. This gets
* gets the reference to such things, using the representation ID to distinguish
* them. */
void * (*get_boxed_ref) (PARROT_INTERP, STable *st, void *data, INTVAL repr_id);

/* This Parrot-specific addition to the API is used to mark an object. */
void (*gc_mark) (PARROT_INTERP, STable *st, void *data);

Expand Down

0 comments on commit 102de40

Please sign in to comment.