summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-12-07 10:53:41 +0100
committerJo-Philipp Wich <jo@mein.io>2021-12-07 10:55:47 +0100
commit5680fab214cd35a54636d5dfb95dc552d1258144 (patch)
treea09822128cc7d69d200c36ddd9f84d7bff99951d /include
parentdc8027c5894c5b481cec9ca5d24951f753824e20 (diff)
treewide: fix upvalue reference type name
No functional changes. Fixes: ff52440 ("treewide: consolidate typedef naming") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include')
-rw-r--r--include/ucode/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ucode/types.h b/include/ucode/types.h
index ac7376b..4a3ccd7 100644
--- a/include/ucode/types.h
+++ b/include/ucode/types.h
@@ -165,14 +165,14 @@ typedef struct uc_upval_tref {
bool closed;
uc_value_t *value;
struct uc_upval_tref *next;
-} uc_upval_tref_t;
+} uc_upvalref_t;
typedef struct {
uc_value_t header;
uc_weakref_t ref;
bool is_arrow;
uc_function_t *function;
- uc_upval_tref_t **upvals;
+ uc_upvalref_t **upvals;
} uc_closure_t;
typedef struct uc_vm uc_vm_t;
@@ -247,7 +247,7 @@ struct uc_vm {
uc_stack_t stack;
uc_exception_t exception;
uc_callframes_t callframes;
- uc_upval_tref_t *open_upvals;
+ uc_upvalref_t *open_upvals;
uc_parse_config_t *config;
uc_value_t *globals;
uc_source_t *sources;