20 lines
259 B
C
20 lines
259 B
C
#ifndef EX_LIB_H_
|
|
#define EX_LIB_H_
|
|
|
|
#if __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct math_struct;
|
|
|
|
math_struct* create();
|
|
|
|
int get_sum(struct math_struct* ms, int a, int b);
|
|
|
|
void free_math(struct math_struct* ms);
|
|
|
|
#if __cplusplus
|
|
}
|
|
#endif
|
|
#endif // !_EX_LIB_H_
|