what's OSReadSwapInt32

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
jerrylongbow
Posts: 1
Joined: Mon Dec 04, 2006 1:59 pm

what's OSReadSwapInt32

Post by jerrylongbow »

in CImageLoaderBmp.cpp
in line 239
#ifdef PPC
header.Id = OSReadSwapInt16(&header.Id,0);
header.FileSize = OSReadSwapInt32(&header.FileSize,0);
header.BitmapDataOffset = OSReadSwapInt32(&header.BitmapDataOffset,0);
what's OSReadSwapInt32?
"SReadSwapInt32" is not been defined.
is a API of Irricht?
or a function of OS such as windows?
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

its a MacOS thing I think.
what platform are you trying to compile for?
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Or better: What version? These interfaces have been replaced by a general Irrlicht solution. So go for Irrlicht 1.2 :wink:
Post Reply