标签: 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;给了我一个错误。
void far* my_pointer;
答案 0 :(得分:1)
far是一个非标准的DOS / Windows时代错误,你只需要:
far
typedef void * LPVOID; LPVOID my_pointer;