diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-06-14 03:24:29 -0400 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-06-14 03:24:29 -0400 |
| commit | a79a6d8f9be059b2bf2c1fc6548592546322f53d (patch) | |
| tree | db99ee1b932c2e668929c02098fd5c78e0ee6cb6 /tnslc/utils/c_wrap_windows.tnsl | |
| parent | 20b9f5a8418670665ff5c5d3f5de538d35ec161b (diff) | |
[tnslc] string literal gen in func scopedevel
Diffstat (limited to 'tnslc/utils/c_wrap_windows.tnsl')
| -rw-r--r-- | tnslc/utils/c_wrap_windows.tnsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tnslc/utils/c_wrap_windows.tnsl b/tnslc/utils/c_wrap_windows.tnsl index 577ca25..839c976 100644 --- a/tnslc/utils/c_wrap_windows.tnsl +++ b/tnslc/utils/c_wrap_windows.tnsl @@ -10,9 +10,9 @@ asm "extern ReadFile" asm "extern WriteFile" asm "extern CloseHandle" -{}uint8 _alert = "Alert!\n\0" -{}uint8 _dec = "%d\n\0" -{}uint8 _ptr = "%p\n\0" +~uint8 _alert = "Alert!\n\0" +~uint8 _dec = "%d\n\0" +~uint8 _ptr = "%p\n\0" /; _alloc (uint size) [~void] ~void out @@ -280,5 +280,5 @@ asm "extern CloseHandle" ;/ /; print_alert - _printf(~_alert{0}) + _printf(_alert) ;/ |