diff options
| author | grischka <grischka> | 2010-01-14 20:56:04 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2010-01-14 20:59:42 +0100 |
| commit | 5299142286b4f5e6344ea9e2f905cf2e84566006 (patch) | |
| tree | 1d5e3879711e41f9c223e55146e6c241d60256ff /libtcc.h | |
| parent | 2341ee5142c184e06964f66696ebf88931953e7d (diff) | |
| download | tinycc-5299142286b4f5e6344ea9e2f905cf2e84566006.tar.gz tinycc-5299142286b4f5e6344ea9e2f905cf2e84566006.tar.bz2 | |
x86-64: use uplong for symbol values
Diffstat (limited to 'libtcc.h')
| -rw-r--r-- | libtcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ LIBTCCAPI int tcc_add_library_path(TCCState *s, const char *pathname); LIBTCCAPI int tcc_add_library(TCCState *s, const char *libraryname); /* add a symbol to the compiled program */ -LIBTCCAPI int tcc_add_symbol(TCCState *s, const char *name, void *val); +LIBTCCAPI int tcc_add_symbol(TCCState *s, const char *name, const void *val); /* output an executable, library or object file. DO NOT call tcc_relocate() before. */ |
