Add win32 ffi example.

This commit is contained in:
bakpakin
2022-08-14 15:40:09 -05:00
parent 9a6d2a7b32
commit c043b1d949
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@
All notable changes to this project will be documented in this file.
## 1.23.1 - ???
- Add FFI support to 64-bit windows compiled with MSVC
- Don't process shared object names passed to dlopen.
- Add better support for windows console in the default shell.c for autocompletion and
other shell-like input features.
+7
View File
@@ -0,0 +1,7 @@
(ffi/context "user32.dll")
(ffi/defbind MessageBoxA :int
[w :ptr text :string cap :string typ :int])
(MessageBoxA nil "Hello, World!" "Test" 0)