FDK/Tools/Programs/makeotf/source/cb.c
/* [hot callback] Refill anonymous table, selecting by tag */
[hot callback] Refill anonymous table, selecting by tag
[ hot callback ] Refill anonymous table selecting by tag
static char *anonRefill(void *ctx, long *count, unsigned long tag)
      {
      cbCtx h = ctx;
      int i;
      for (i = 0; i < h->feat.anon.cnt; i++)
              {
              AnonInfo *ai = &h->feat.anon.array[i];
              if (ai->tag == tag)
                      {
                      *count = ai->refillDone++ ? 0 : ai->data.cnt;
                      return (*count == 0) ? NULL : ai->data.array;
                      }
              }
      cbFatal(h, "unrecognized anon table tag: %c%c%c%c\n", TAG_ARG(tag));
      return 0;       
      }
static char * anonRefill ( void * ctx , long * count , unsigned long tag ) { cbCtx h = ctx ; int i ; for ( i = 0 ; i < h -> feat . anon . cnt ; i ++ ) { AnonInfo * ai = & h -> feat . anon . array [ i ] ; if ( ai -> tag == tag ) { * count = ai -> refillDone ++ ? 0 : ai -> data . cnt ; return ( * count == 0 ) ? NULL : ai -> data . array ; } } cbFatal ( h , " \n " , TAG_ARG ( tag ) ) ; return 0 ; }
[hot callback] Refill anonymous table, selecting by tag
[ hot callback ] Refill anonymous table selecting by tag
/* Supress compiler warning */