From dc5dda3f718fb49cf6783ef2aef8069f45b015e0 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Thu, 23 May 2024 14:47:42 -0700 Subject: [PATCH] visualize handle basic types --- src/df/core/df_core.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/df/core/df_core.c b/src/df/core/df_core.c index e2980b29..ad1de92e 100644 --- a/src/df/core/df_core.c +++ b/src/df/core/df_core.c @@ -4493,6 +4493,12 @@ df_string_from_simple_typed_eval(Arena *arena, TG_Graph *graph, RDI_Parsed *rdi, { default:{}break; + case TG_Kind_Handle: + { + U64 min_digits = (radix == 16) ? type_byte_size*2 : 0; + result = str8_from_s64(arena, eval.imm_s64, radix, 0, digit_group_separator); + }break; + case TG_Kind_Char8: case TG_Kind_Char16: case TG_Kind_Char32: