diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-05 15:33:43 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-05 15:33:43 -0400 |
| commit | e92ea6fe1baca02c46ec9fb93c25b1b3b08043ac (patch) | |
| tree | 9f237c78e8e7031f54d1b196b4c6081e034e2554 | |
| parent | 04c8fb0362dc4f922c1e96ca01fb87a3e8e74214 (diff) | |
Remove unused macro
| -rw-r--r-- | builtins/macros.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/builtins/macros.h b/builtins/macros.h index 4fbaa5f5..9e51eba3 100644 --- a/builtins/macros.h +++ b/builtins/macros.h @@ -7,5 +7,3 @@ #define heap(x) (__typeof(x)*)memcpy(GC_MALLOC(sizeof(x)), (__typeof(x)[1]){x}, sizeof(x)) #define stack(x) (__typeof(x)*)((__typeof(x)[1]){x}) -#define tagged(obj_expr, type_name, tag_name) ({ __typeof(obj_expr) obj = obj_expr; \ - obj.$tag == $tag$##type_name##$##tag_name ? &obj.tag_name : NULL; }) |
