Improved Windows ABI support

This commit is contained in:
Eduard Urbach 2025-02-15 18:23:33 +01:00
parent 0a1a8f741d
commit d0bcd8cf9f
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
22 changed files with 124 additions and 32 deletions

View file

@ -0,0 +1,7 @@
extern kernel32 {
CreateThread(attributes Int, stackSize Int, address *Any, parameter Int) -> Int
}
create(func *Any) -> Int {
return kernel32.CreateThread(0, 4096, func, 0)
}