release 0.1.13
[liba.git] / demo / main.c
blob2277c0eed1865f78e5e30f13201bf654cdf313e5
1 #include "a/version.h"
2 #include "a/str.h"
3 #include <stdio.h>
4 int main(void)
6 a_str *str = a_str_new();
7 a_str_putf(str, "%u.%u.%u+%u",
8 a_version_major,
9 a_version_minor,
10 a_version_patch,
11 a_version_tweak);
12 puts(a_str_ptr(str));
13 a_str_die(str);
14 return 0;