Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
many changes to the new IMCC API. We're building again and doing abou…
…t as well on the test suite as we were
- Loading branch information
1 parent
83b1708
commit db1fa87
Showing
6 changed files
with
133 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
#ifndef PARROT_IMCC_API_H_GUARD | ||
#define PARROT_IMCC_API_H_GUARD | ||
|
||
#include "parrot/api.h" | ||
|
||
/* HEADERIZER BEGIN: compilers/imcc/api.c */ | ||
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */ | ||
|
||
PARROT_EXPORT | ||
PARROT_CANNOT_RETURN_NULL | ||
PMC * imcc_compile_file_api( | ||
Parrot_PMC interp_pmc, | ||
Parrot_PMC compiler, | ||
Parrot_String file, | ||
Parrot_PMC *error); | ||
|
||
PARROT_EXPORT | ||
PARROT_CANNOT_RETURN_NULL | ||
PMC * imcc_get_pasm_compreg_api( | ||
Parrot_PMC interp_pmc, | ||
int add_compreg, | ||
Parrot_PMC *err); | ||
|
||
PARROT_EXPORT | ||
PARROT_CANNOT_RETURN_NULL | ||
PMC * imcc_get_pir_compreg_api( | ||
Parrot_PMC interp_pmc, | ||
int add_compreg, | ||
Parrot_PMC *err); | ||
|
||
PARROT_EXPORT | ||
PARROT_CANNOT_RETURN_NULL | ||
void imcc_preprocess_file_api( | ||
Parrot_PMC interp_pmc, | ||
Parrot_PMC compiler, | ||
Parrot_String file); | ||
|
||
#define ASSERT_ARGS_imcc_compile_file_api __attribute__unused__ int _ASSERT_ARGS_CHECK = (0) | ||
#define ASSERT_ARGS_imcc_get_pasm_compreg_api __attribute__unused__ int _ASSERT_ARGS_CHECK = (0) | ||
#define ASSERT_ARGS_imcc_get_pir_compreg_api __attribute__unused__ int _ASSERT_ARGS_CHECK = (0) | ||
#define ASSERT_ARGS_imcc_preprocess_file_api __attribute__unused__ int _ASSERT_ARGS_CHECK = (0) | ||
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */ | ||
/* HEADERIZER END: compilers/imcc/api.c */ | ||
|
||
#endif /* PARROT_IMCC_API_H_GUARD */ |