diff options
| author | grischka <grischka> | 2009-05-11 18:46:02 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2009-05-11 18:46:02 +0200 |
| commit | 67aebdd5b733094bffbf23a87da14d2c53937a99 (patch) | |
| tree | 17521833e98b73b06dd4b39960f30d24997f0971 /tcc.h | |
| parent | 0a35f9d66e15e7daadc329e7fc34b2fe5a8cbce1 (diff) | |
| download | tinycc-67aebdd5b733094bffbf23a87da14d2c53937a99.tar.gz tinycc-67aebdd5b733094bffbf23a87da14d2c53937a99.tar.bz2 | |
enable making tcc using libtcc
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -724,23 +724,25 @@ extern long double strtold (const char *__nptr, char **__endptr); #endif void error(const char *fmt, ...); +void error_noabort(const char *fmt, ...); void warning(const char *fmt, ...); + void tcc_set_lib_path_w32(TCCState *s); int tcc_set_flag(TCCState *s, const char *flag_name, int value); void tcc_print_stats(TCCState *s, int64_t total_time); -static void tcc_free(void *ptr); -static void *tcc_malloc(unsigned long size); -static void *tcc_mallocz(unsigned long size); -static void *tcc_realloc(void *ptr, unsigned long size); -static char *tcc_strdup(const char *str); +void tcc_free(void *ptr); +void *tcc_malloc(unsigned long size); +void *tcc_mallocz(unsigned long size); +void *tcc_realloc(void *ptr, unsigned long size); +char *tcc_strdup(const char *str); -static char *tcc_basename(const char *name); -static char *tcc_fileextension (const char *name); -static char *pstrcpy(char *buf, int buf_size, const char *s); -static char *pstrcat(char *buf, int buf_size, const char *s); -static void dynarray_add(void ***ptab, int *nb_ptr, void *data); -static void dynarray_reset(void *pp, int *n); +char *tcc_basename(const char *name); +char *tcc_fileextension (const char *name); +char *pstrcpy(char *buf, int buf_size, const char *s); +char *pstrcat(char *buf, int buf_size, const char *s); +void dynarray_add(void ***ptab, int *nb_ptr, void *data); +void dynarray_reset(void *pp, int *n); #ifdef CONFIG_TCC_BACKTRACE extern int num_callers; |
