summaryrefslogtreecommitdiff
path: root/xmake/templates/c/tbox.shared/project/src/_demo/main.c
blob: b1e76398942322459ab9a46754122074de527c68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* //////////////////////////////////////////////////////////////////////////////////////
 * includes
 */
#include "${TARGETNAME}/interface.h"

/* //////////////////////////////////////////////////////////////////////////////////////
 * main
 */
tb_int_t main(tb_int_t argc, tb_char_t **argv) {
    if (tb_init(tb_null, tb_null)) {
        tb_trace_i("hello tbox!");
        tb_trace_i("add(1 + 1) = %d", add(1, 1));
        tb_exit();
    }
    return 0;
}