1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-14 12:44:49 +00:00
janet/examples/ffi/win32.janet

8 lines
149 B
Plaintext
Raw Normal View History

2022-08-14 20:40:09 +00:00
(ffi/context "user32.dll")
(ffi/defbind MessageBoxA :int
[w :ptr text :string cap :string typ :int])
(MessageBoxA nil "Hello, World!" "Test" 0)