aboutsummaryrefslogtreecommitdiff
path: root/libtcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2009-04-18 13:17:27 +0200
committergrischka <grischka>2009-04-18 15:08:03 +0200
commitd165e87340c3e802f2d0c6354934c5529386fa84 (patch)
tree07eb2800638ca4daf1e2053c6f83cc4fd5731d99 /libtcc.h
parent73ba078d2f703ab991ddc36b3504d96f35466700 (diff)
downloadtinycc-d165e87340c3e802f2d0c6354934c5529386fa84.tar.gz
tinycc-d165e87340c3e802f2d0c6354934c5529386fa84.tar.bz2
libtcc: new api tcc_set_lib_path
Diffstat (limited to 'libtcc.h')
-rw-r--r--libtcc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libtcc.h b/libtcc.h
index e7c7ae1..f82a1d0 100644
--- a/libtcc.h
+++ b/libtcc.h
@@ -92,6 +92,9 @@ int tcc_relocate(TCCState *s1, void *ptr);
/* return symbol value or NULL if not found */
void *tcc_get_symbol(TCCState *s, const char *name);
+/* set CONFIG_TCCDIR at runtime */
+void tcc_set_lib_path(TCCState *s, const char *path);
+
#ifdef __cplusplus
}
#endif