mirror of
https://github.com/troydhanson/tpl.git
synced 2024-12-26 23:57:25 +08:00
15 lines
237 B
C
15 lines
237 B
C
#include <stdio.h>
|
|
#include "tpl.h"
|
|
|
|
int main() {
|
|
tpl_node *tn;
|
|
double x;
|
|
|
|
tn = tpl_map("A(f)",&x);
|
|
for(x=0.0;x<1.0;x+=0.2) tpl_pack(tn,1);
|
|
tpl_dump(tn,TPL_FILE,"/tmp/test46.tpl");
|
|
tpl_free(tn);
|
|
|
|
return(0);
|
|
}
|