📄 wrapper.c
字号:
/***********************************************************************
* This program breaks the add structure into its components to be used *
* in LabView more readily. This way, LabView can unbundle a cluster *
* and assign the indivual elements to the parameters listed in this *
* function Wrap_dll_function (int x, double y, double* z) *
************************************************************************/
#include "Add.h"
#include "Wrapper.h"
int __stdcall Wrap_dll_function (int x, double y, double* z)
{
add temp;
temp.first = x;
temp.second = y;
temp.result = z; /*calls the code that adds the numbers. */
return dll_function(temp);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -