mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-11 13:06:56 +03:00
Changed "int" to "int32_t" in all extern "C" calls in C++.
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@6 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
parent
13394f17c4
commit
ab0f3cd03f
5 changed files with 18 additions and 18 deletions
|
@ -33,7 +33,7 @@ using namespace std;
|
|||
|
||||
AudioDevicePtr device;
|
||||
|
||||
extern "C" int cpp_openDevice()
|
||||
extern "C" int32_t cpp_openDevice()
|
||||
{
|
||||
device = OpenDevice("");
|
||||
if (!device) return 1;
|
||||
|
@ -86,7 +86,7 @@ extern "C" void cpp_destroyInstance(OutputStream *sound)
|
|||
sound->unref();
|
||||
}
|
||||
|
||||
extern "C" int cpp_isPlaying(OutputStream *sound)
|
||||
extern "C" int32_t cpp_isPlaying(OutputStream *sound)
|
||||
{
|
||||
if(sound && sound->isPlaying()) return 1;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue