summaryrefslogtreecommitdiff
path: root/tests/projects/objc/macapp_with_shared/src/test.h
blob: 8eaf67461a4927cffff268bbb941be907642ab24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifdef __cplusplus
extern "C" {
#endif

/*! calculate add(a, b) 
 *
 * @param a     the first argument
 * @param b     the second argument
 *
 * @return      the result
 */
__attribute__((visibility("default"))) int add(int a, int b);

#ifdef __cplusplus
}
#endif