diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-26 07:40:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 07:40:21 +0200 |
commit | daef8b35f421c5481116c27fa5132881549a76a6 (patch) | |
tree | 02084ca6771d425cef509d0a5504a5591dcdb7fd /lib.h | |
parent | c706eb101934ec05a1aa0fa75ab79f8b1ba405e8 (diff) | |
parent | 9874562545d93582a75bc2e6d58fc772e981a3ba (diff) |
Merge pull request #14 from jow-/refactor
Refactoring & raw code mode support
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,7 +25,8 @@ typedef struct { uc_cfn_ptr_t func; } uc_cfunction_list; -void uc_lib_init(uc_value_t *scope); +void uc_load_stdlib(uc_value_t *scope); +uc_value_t *uc_alloc_global(uc_vm *vm); bool format_source_context(uc_stringbuf_t *buf, uc_source *src, size_t off, bool compact); bool format_error_context(uc_stringbuf_t *buf, uc_source *src, uc_value_t *stacktrace, size_t off); |