int notefile_setup() { gnotefilelist = varray_new(); varray_entrysprintfunc(gnotefilelist, nf_sprintf); gnotebindlist = varray_new(); varray_entrysprintfunc(gnotebindlist, nb_sprintf); return 0; }
int main() { tq = varray_new(); if(!tq) { exit(7); } varray_entrysprintfunc(tq, txe_sprint); varray_fprint(stdout, tq); txe_parse(tq, "ground|special|"); txe_parse(tq, "|large|a\\|b|small|XYZ"); txe_parse(tq, "|first|any||foo||dummy|end|"); varray_fprint(stdout, tq); }