emoji

Log

Files

Refs

README

LICENSE

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