more progress. removed the unions because they have a bigger size than the foreign procs expects and that messes things up

This commit is contained in:
2024-08-07 06:39:18 +02:00
parent ebafc90985
commit 50fb0bb5f9
13 changed files with 1482 additions and 221 deletions
+1 -3
View File
@@ -256,9 +256,7 @@ foreign android {
* *any* thread it will send a message to the main thread of the process
* where the Java finish call will take place.
*/
// TODO: wtf is format here ?? is there an enum or constants for this proc?
// I think this might be AHardwareBuffer_Format, but annoyingly so, it's u32 while this proc requires i32.
ANativeActivity_setWindowFormat :: proc(activity: ^ANativeActivity, format: i32) ---
ANativeActivity_setWindowFormat :: proc(activity: ^ANativeActivity, format: AHardwareBuffer_Format) ---
/**
* Change the window flags of the given activity. Calls getWindow().setFlags()