summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-08-24 15:55:35 +0200
committerGitHub <noreply@github.com>2022-08-24 15:55:35 +0200
commit66bbda7fdc5dfdc1b0ed587a4f8cfc72b1c34a3b (patch)
tree0a089858e2f2fbf2c19440be8dda7e945667d83b /include
parent796a9471bfe69007678d83ba279f9b24cfd17ec1 (diff)
parent131d99c45e586e06d2fa3adba32e92c0370ad022 (diff)
Merge pull request #101 from jow-/loadfile-support
lib: introduce three new functions call(), loadstring() and loadfile()
Diffstat (limited to 'include')
-rw-r--r--include/ucode/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ucode/lib.h b/include/ucode/lib.h
index 416fea5..0709702 100644
--- a/include/ucode/lib.h
+++ b/include/ucode/lib.h
@@ -33,6 +33,7 @@ uc_cfn_ptr_t uc_stdlib_function(const char *name);
__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);
+__hidden void uc_error_message_indent(char **msg);
__hidden uc_value_t *uc_require_library(uc_vm_t *vm, uc_value_t *nameval, bool so_only);