开发者

where can i find the byteswap macros i.e. Endian32_Swap() in IOS4.3?

开发者 https://www.devze.com 2023-03-15 03:45 出处:网络
I\'m porting a project from mac os to iphone 开发者_StackOverflowos. I can\'t seem to find Endian32_Swap() etc anywhere.

I'm porting a project from mac os to iphone 开发者_StackOverflowos. I can't seem to find Endian32_Swap() etc anywhere.

thanks,

oli


it doesn't have byteswap.h and Endian32_Swap() etc

i'm using

#include <libkern/OSByteOrder.h>

OSSwapInt32(x)

instead

0

精彩评论

暂无评论...
验证码 换一张
取 消