Skip to content

Commit

Permalink
Made profiling test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescreen10 committed Nov 29, 2010
1 parent 704e3c4 commit f686051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/parrot/api.h
Expand Up @@ -49,12 +49,12 @@ typedef struct _Parrot_Init_Args {
void *stacktop;
char * gc_system;
Parrot_Int gc_threshold;
Parrot_Int hash_seed;
Parrot_UInt hash_seed;
} Parrot_Init_Args;

#define GET_INIT_STRUCT(i) do {\
void * __stacktop = NULL; \
(i) = (Parrot_Init_Args*)calloc(sizeof(Parrot_Init_Args), 0); \
(i) = (Parrot_Init_Args*)calloc(1,sizeof(Parrot_Init_Args)); \
(i)->stacktop = &__stacktop; \
} while(0)

Expand Down

0 comments on commit f686051

Please sign in to comment.