mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +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
|
@ -29,11 +29,11 @@
|
|||
// Callbacks to D code
|
||||
|
||||
// Does the file exist in the archives?
|
||||
extern "C" int d_bsaExists(const char *filename);
|
||||
extern "C" int32_t d_bsaExists(const char *filename);
|
||||
|
||||
// Open a file. Return the pointer and size.
|
||||
extern "C" void d_bsaOpenFile(const char *filename,
|
||||
void **retPtr, unsigned int *retSize);
|
||||
void **retPtr, uint32_t *retSize);
|
||||
|
||||
|
||||
// This archive does not cover one .bsa file, instead it interacts
|
||||
|
@ -57,7 +57,7 @@ public:
|
|||
{
|
||||
//std::cout << "open(" << filename << ")\n";
|
||||
void *ptr;
|
||||
unsigned int size;
|
||||
uint32_t size;
|
||||
|
||||
// Open the file
|
||||
d_bsaOpenFile(filename.c_str(), &ptr, &size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue