c# 外部引用c++非托管DLL问题,十万火急,数据结构int32_t
global 文件
#ifndef _GLOBAL_H_
#define _GLOBAL_H_
#ifndef int32_t
#define int32_t int
#endif
#ifndef float32_t
#define float32_t float
#endif
#endif
========================================
#ifndef _DSP_H_
#define _DSP_H_
#include "global.h"
#ifdef WIN32
#ifdef _USRDLL
#define DSP_API __declspec(dllexport)
#else
#define DSP_API
#endif
#else
#define DSP_API
#endif
#ifdef __cplusplus
extern "C"
{
#endif
DSP_API void *BPFilter_Create(int32_t n, float32_t fs, float32_t fl, float32_t fh);
DSP_API void BPFilter_Free(void **handle);
#ifdef __cplusplus
}
#endif
#endif
请问
1:c#外部引用BPFilter_Create、BPFilter_Free代码如何下,
2:如何处理int32_t、float32_t这种结构
3:还有当有前缀是const float32_t fs如何处理