mirror of
https://github.com/Nexoniarz/Finch.git
synced 2026-11-03 00:44:27 +00:00
C import: unions (SDL_Event) and their fields; #defines that are expressions, casts or text; typedef'd structs no function mentions; FLAG_A | FLAG_B fits a u64
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6142e47e71
commit
d0666cf788
7 changed files with 314 additions and 13 deletions
7
tests/new/cunion.c
Normal file
7
tests/new/cunion.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include "cunion.h"
|
||||
int poll_event(Event *e) {
|
||||
e->motion.type = EV_MOTION;
|
||||
e->motion.x = 1.5f;
|
||||
e->motion.y = -2.0f;
|
||||
return 1;
|
||||
}
|
||||
Loading…
Reference in a new issue