1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-04 03:09:10 +00:00
janet/examples/sysir/windows_samples.janet

15 lines
236 B
Plaintext
Raw Normal View History

(use ./frontend)
(def winmain
'(defn Start:void []
(MessageBoxExA (the pointer 0) "Hello, world!" "Test" 0 (the s16 0))
(ExitProcess (the int 0))
(return)))
####
(compile1 winmain)
#(dump)
#(dumpc)
2024-06-21 22:16:56 +00:00
(dumpx64-windows)