summaryrefslogtreecommitdiffhomepage
path: root/include/ucode/lib.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-07-28 14:09:57 +0200
committerJo-Philipp Wich <jo@mein.io>2022-07-30 13:46:27 +0200
commit156d584e4d0af46c39234ee68a98a16ab4cbe225 (patch)
treeb73977b8e71445de9e5947d2db3bf941cc174f42 /include/ucode/lib.h
parent10e056d3744384a029f05de5903c489898722fc3 (diff)
treewide: unexport libucode internal functions
Trim down the libucode.so size somewhat by marking purely internal, non-public API functions hidden. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include/ucode/lib.h')
-rw-r--r--include/ucode/lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ucode/lib.h b/include/ucode/lib.h
index a80844d..4c7a3b0 100644
--- a/include/ucode/lib.h
+++ b/include/ucode/lib.h
@@ -31,8 +31,8 @@ extern const uc_function_list_t uc_stdlib_functions[];
void uc_stdlib_load(uc_value_t *scope);
uc_cfn_ptr_t uc_stdlib_function(const char *name);
-bool uc_source_context_format(uc_stringbuf_t *buf, uc_source_t *src, size_t off, bool compact);
-bool uc_error_context_format(uc_stringbuf_t *buf, uc_source_t *src, uc_value_t *stacktrace, size_t off);
+__hidden bool uc_source_context_format(uc_stringbuf_t *buf, uc_source_t *src, size_t off, bool compact);
+__hidden bool uc_error_context_format(uc_stringbuf_t *buf, uc_source_t *src, uc_value_t *stacktrace, size_t off);
/* vm helper */