SWIG bindings update.
This commit is contained in:
parent
84c6e2242e
commit
2219123cc5
|
@ -89,6 +89,8 @@
|
||||||
%rename(readBytes) PHYSFS_readBytes;
|
%rename(readBytes) PHYSFS_readBytes;
|
||||||
%rename(writeBytes) PHYSFS_writeBytes;
|
%rename(writeBytes) PHYSFS_writeBytes;
|
||||||
%rename(unmount) PHYSFS_unmount;
|
%rename(unmount) PHYSFS_unmount;
|
||||||
|
%rename(mountMemory) PHYSFS_mountMemory;
|
||||||
|
%rename(mountHandle) PHYSFS_mountHandle;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
%include "../src/physfs.h"
|
%include "../src/physfs.h"
|
||||||
|
|
|
@ -2723,6 +2723,8 @@ PHYSFS_DECL PHYSFS_sint64 PHYSFS_writeBytes(PHYSFS_File *handle,
|
||||||
PHYSFS_uint64 len);
|
PHYSFS_uint64 len);
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef SWIG /* not available from scripting languages. */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \struct PHYSFS_Io
|
* \struct PHYSFS_Io
|
||||||
* \brief An abstract i/o interface.
|
* \brief An abstract i/o interface.
|
||||||
|
@ -2942,6 +2944,7 @@ typedef struct PHYSFS_Io
|
||||||
PHYSFS_DECL int PHYSFS_mountIo(PHYSFS_Io *io, const char *fname,
|
PHYSFS_DECL int PHYSFS_mountIo(PHYSFS_Io *io, const char *fname,
|
||||||
const char *mountPoint, int appendToPath);
|
const char *mountPoint, int appendToPath);
|
||||||
|
|
||||||
|
#endif /* SWIG */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \fn int PHYSFS_mountMemory(const void *ptr, PHYSFS_uint64 len, void (*del)(void *), const char *fname, const char *mountPoint, int appendToPath)
|
* \fn int PHYSFS_mountMemory(const void *ptr, PHYSFS_uint64 len, void (*del)(void *), const char *fname, const char *mountPoint, int appendToPath)
|
||||||
|
|
Loading…
Reference in New Issue