repo.or.cz
/
got-portable.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
portable: move tmpl.h to EXTRA_DIST
[got-portable.git]
/
regress
/
template
/
07-printf.tmpl
blob
0ad8f7070ecbf501efdda6004283ba83ce93ff15
1
{!
2
#include <stdio.h>
3
#include <stdlib.h>
4
5
#include "tmpl.h"
6
7
int base(struct template *, const char *);
8
9
!}
10
11
{{ define base(struct template *tp, const char *title) }}
12
{{ printf "%.2s:\t%d\n", title, 42 }}
13
{{ end }}