From 369c601a560f9c081e2bc04e4f4fe5a8b7b1a6a0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 16 Apr 2024 13:50:07 -0400 Subject: Invert escaping so user symbols get prepended with "$" and builtin symbols don't --- builtins/pointer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtins/pointer.h') diff --git a/builtins/pointer.h b/builtins/pointer.h index e5705d20..538960b3 100644 --- a/builtins/pointer.h +++ b/builtins/pointer.h @@ -13,7 +13,7 @@ int32_t Pointer$compare(const void *x, const void *y, const TypeInfo *type); bool Pointer$equal(const void *x, const void *y, const TypeInfo *type); uint32_t Pointer$hash(const void *x, const TypeInfo *type); -#define $Null(t) (t*)NULL +#define Null(t) (t*)NULL #define POINTER_TYPE(_sigil, _pointed) (&(TypeInfo){\ .size=sizeof(void*), .align=alignof(void*), .tag=PointerInfo, .PointerInfo.sigil=_sigil, .PointerInfo.pointed=_pointed}) -- cgit v1.2.3