Backup
This commit is contained in:
1 parent
1249738f98
commit
d24c406f22
7 files changed
+260
-13
No files matched your search
@@ -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 */
|
||||
Reference in new issue
Block a user