Skip to content

Commit

Permalink
changes necessary so we build. Run fails horribly, but we build
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Dec 2, 2010
1 parent 557e85c commit ae620cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/embed/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

PARROT_API
Parrot_Int
Parrot_api_get_result(ARGMOD(PMC * interp_pmc), ARGOUT(Parrot_Int *is_error),
Parrot_api_get_result(ARGMOD(PMC * interp_pmc), ARGOUT(Parrot_Int *is_error),
ARGOUT(Parrot_Int *exit_code), ARGOUT(Parrot_String * errmsg))
{
EMBED_API_CALLIN(interp_pmc, interp);
Expand Down Expand Up @@ -125,7 +125,7 @@ Parrot_api_destroy_interpreter(ARGIN(PMC *interp_pmc))
ASSERT_ARGS(Parrot_api_destroy_interpreter)
EMBED_API_CALLIN(interp_pmc, interp)
Parrot_destroy(interp);
Parrot_exit(interp, 0);
Parrot_x_exit(interp, 0);
EMBED_API_CALLOUT(interp_pmc, interp);
}

Expand Down
2 changes: 1 addition & 1 deletion src/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ die_from_exception(PARROT_INTERP, ARGIN(PMC *exception))
if (already_dying) {
//fflush(stderr);
//fprintf(stderr, "\n***FATAL ERROR: Exception thrown while dying from previous unhandled Exception\n");
Parrot_exit(interp, EXCEPT_fatal);
Parrot_x_exit(interp, EXCEPT_fatal);
}
else {
/* In some cases we have a fatal exception before the IO system
Expand Down
2 changes: 1 addition & 1 deletion src/global_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Parrot_set_config_hash_pmc(PARROT_INTERP, ARGMOD(PMC * config))
ASSERT_ARGS(Parrot_set_config_hash_pmc)
parrot_config_hash_global = config;
if (!PMC_IS_NULL(config))
parrot_set_config_hash_interpreter(interp);
Parrot_gbl_set_config_hash_interpreter(interp);
}

/*
Expand Down

0 comments on commit ae620cc

Please sign in to comment.