mirror of
https://github.com/troydhanson/tpl.git
synced 2024-12-26 23:57:25 +08:00
14 lines
213 B
C
14 lines
213 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include "tpl.h"
|
||
|
|
||
|
int main() {
|
||
|
char *fmt;
|
||
|
fmt = tpl_peek(TPL_FILE, "test85.tpl");
|
||
|
if (fmt) {
|
||
|
printf("%s\n",fmt);
|
||
|
free(fmt);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|