typedef void far * LPVOID - > Objective C

时间:2011-05-21 09:07:01

标签: objective-c

typedef void far *LPVOID
LPVOID is the name and it's defined as a far pointer to void.

如何在Objective C中声明此数据类型。

void far* my_pointer;给了我一个错误。

1 个答案:

答案 0 :(得分:1)

far是一个非标准的DOS / Windows时代错误,你只需要:

typedef void * LPVOID;

LPVOID my_pointer;