1#if defined(_MSC_VER)
2#define EXPORT_API extern "C" __declspec(dllexport)
3#else
4#define EXPORT_API extern "C" __attribute__((visibility("default")))
5#endif
6
7#include <cstddef>
8
9EXPORT_API unsigned __int32 Ret_Int(unsigned __int32 argVal){
10 unsigned __int32 retVal = (unsigned __int32)argVal;
11 return retVal;
12}
13EXPORT_API unsigned __int32 Ret_Ptr(void *argVal){
14 unsigned __int32 retVal = (unsigned __int32)(size_t)argVal;
15 return retVal;
16}
17
18EXPORT_API void Set_Val(__int32 *argVal, __int32 val){
19 *argVal = val;;
20
21}
22
23EXPORT_API void Mul_Val(__int32 *arg1,__int32 *arg2,__int32 *arg3){
24 *arg3 = (*arg1)*(*arg2);
25
26}
27
28