💾 Archived View for gmi.noulin.net › gitRepositories › zrle › file › zrle.h.gmi captured on 2024-08-18 at 18:56:48. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
zrle.h (436B)
1 2 #include "libsheepyObject.h" 3 4 typedef struct { 5 u8 *buf; 6 u32 count; 7 } zrlebuft; 8 9 #define bufZRLE(zlreb) zlreb.buf 10 #define lenZRLE(zlreb) zlreb.count 11 #define freeZRLE(zlreb) free(zlreb.buf) 12 13 zrlebuft zrle(void *buf, size_t len); 14 zrlebuft dezrle(void *buf, size_t len); 15 16 #define isZrleCompiledWithCurrentLisheepyVersion checkLibsheepyVersionZrle(LIBSHEEPY_VERSION) 17 bool checkLibsheepyVersionZrle(const char *currentLibsheepyVersion);