#include #include #include #include "tpl.h" #define NUM_STRS 3 #define NUM_ELMT 3 #define STR "apple" #define SLEN 5 const char *filename = "/tmp/test117.tpl"; int main() { tpl_node *tn; int i,j,d=1,D=-1; char c='a', C='0'; char *strs[NUM_STRS]; char *STRS[NUM_STRS]; tn = tpl_map("cA(s#)i", &c, strs, NUM_STRS, &d); for(i=0; i0) { for(i=0;i