changed tcc_get_symbol() prototype

This commit is contained in:
bellard
2003-07-20 19:19:58 +00:00
parent c5959b77b4
commit f8d0241764
4 changed files with 24 additions and 12 deletions

View File

@ -83,8 +83,8 @@ int tcc_run(TCCState *s, int argc, char **argv);
non zero if link error. */
int tcc_relocate(TCCState *s);
/* return symbol value or error */
void *tcc_get_symbol(TCCState *s, const char *name);
/* return symbol value. return 0 if OK, -1 if symbol not found */
int tcc_get_symbol(TCCState *s, unsigned long *pval, const char *name);
#ifdef __cplusplus
}