ext/iodine/fiobj_mustache.c
/**
 * Called when simple template text (string) is detected.
 *
 * A conforming implementation will output data as a string (no escaping).
 */
Called when simple template text (string) is detected.
A conforming implementation will output data as a string (no escaping).
Called when simple template text ( string ) is detected . A conforming implementation will output data as a string ( no escaping ) .
static int mustache_on_text(mustache_section_s *section, const char *data,
                            uint32_t data_len) {
  FIOBJ dest = (FIOBJ)section->udata1;
  fiobj_str_write(dest, data, data_len);
  return 0;
}
static int mustache_on_text ( mustache_section_s * section , const char * data , uint32_t data_len ) { FIOBJ dest = ( FIOBJ ) section -> udata1 ; fiobj_str_write ( dest , data , data_len ) ; return 0 ; }
Called when simple template text (string) is detected.
Called when simple template text ( string ) is detected .