💾 Archived View for gmi.noulin.net › gitRepositories › emoji › file › emoji.c.gmi captured on 2024-07-09 at 00:16:22. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
emoji.c (475B)
1 2 #include "libsheepyObject.h" 3 #include "emoji.h" 4 5 smallJsont *emList = NULL; 6 7 bool allocEmList(void) { 8 if (!emList) { 9 emList = allocG(rtSmallJsont); 10 parseG(emList, EM_LIST); 11 ret true; 12 } 13 ret false; 14 } 15 16 void freeEmList(void) { 17 if (!emList) { 18 terminateG(emList); 19 emList = NULL; 20 } 21 } 22 23 // vim: set expandtab ts=2 sw=2: 24 25 bool checkLibsheepyVersionEmoji(const char *currentLibsheepyVersion) { 26 return eqG(currentLibsheepyVersion, LIBSHEEPY_VERSION); 27 } 28