This commit is contained in:
DarthMooMancer committed 2026-11-05 10:15:01 -05:00
1 parent 342aa2d459
commit 31d2104e90
7 files changed
+260 -13

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#ifndef WINDOW_H
#define WINDOW_H
/*
* The pure-C contract, unchanged in spirit.
* window_run now takes the image: a read-only pixel buffer plus its
* dimensions. Nobody here cares that the implementation is AppKit.
*
* main.c loads the image (libimg owns the buffer), passes it in,
* and frees it AFTER window_run returns. The window layer only reads.
*/
int
window_run(const unsigned int* buf, int width, int height);
#endif /* WINDOW_H */