Permalink
Browse files

changes necessary so we build. Run fails horribly, but we build

  • Loading branch information...
1 parent 557e85c commit ae620cc94b65574597fc46611b827427e05724ad @Whiteknight Whiteknight committed Dec 2, 2010
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/embed/api.c
  2. +1 −1 src/exceptions.c
  3. +1 −1 src/global_setup.c
View
@@ -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);
@@ -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);
}
View
@@ -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
View
@@ -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);
}
/*

0 comments on commit ae620cc

Please sign in to comment.