Skip to content

Commit

Permalink
Update P6bigint REPR to use typedef types for wrap_object and create_…
Browse files Browse the repository at this point in the history
…stable.
  • Loading branch information
arnsholt committed Jul 23, 2012
1 parent f30dabb commit a2a20b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/6model/reprs/P6bigint.c
Expand Up @@ -11,8 +11,8 @@
static REPROps *this_repr;

/* Some functions we have to get references to. */
static PMC * (* wrap_object_func) (PARROT_INTERP, void *obj);
static PMC * (* create_stable_func) (PARROT_INTERP, REPROps *REPR, PMC *HOW);
static wrap_object_t wrap_object_func;
static create_stable_t create_stable_func;

/* Creates a new type object of this representation, and associates it with
* the given HOW. */
Expand Down Expand Up @@ -167,8 +167,8 @@ static void deserialize(PARROT_INTERP, STable *st, void *data, SerializationRead

/* Initializes the P6bigint representation. */
REPROps * P6bigint_initialize(PARROT_INTERP,
PMC * (* wrap_object_func_ptr) (PARROT_INTERP, void *obj),
PMC * (* create_stable_func_ptr) (PARROT_INTERP, REPROps *REPR, PMC *HOW)) {
wrap_object_t wrap_object_func_ptr,
create_stable_t create_stable_func_ptr) {
/* Stash away functions passed wrapping functions. */
wrap_object_func = wrap_object_func_ptr;
create_stable_func = create_stable_func_ptr;
Expand Down

0 comments on commit a2a20b6

Please sign in to comment.