15 lines
240 B
C
15 lines
240 B
C
|
#include <winpr/spec.h>
|
||
|
|
||
|
DECLSPEC_EXPORT int FunctionA(int a, int b);
|
||
|
DECLSPEC_EXPORT int FunctionB(int a, int b);
|
||
|
|
||
|
int FunctionA(int a, int b)
|
||
|
{
|
||
|
return (a + b); /* add */
|
||
|
}
|
||
|
|
||
|
int FunctionB(int a, int b)
|
||
|
{
|
||
|
return (a - b); /* subtract */
|
||
|
}
|