summaryrefslogtreecommitdiff
path: root/xmake/templates/c/tbox.shared/project/src/_library/interface.h
blob: 16a6952057fe3a77f7ac9279e37067507cbb589d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef INTERFACE_H
#define INTERFACE_H

/* //////////////////////////////////////////////////////////////////////////////////////
 * includes
 */
#include "tbox/tbox.h"

/* //////////////////////////////////////////////////////////////////////////////////////
 * extern
 */
__tb_extern_c_enter__


/*! calculate add(a, b)
 *
 * @param a     the first argument
 * @param b     the second argument
 *
 * @return      the result
 */
__tb_export__ tb_int_t add(tb_int_t a, tb_int_t b);

/* //////////////////////////////////////////////////////////////////////////////////////
 * extern
 */
__tb_extern_c_leave__

#endif