Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New] libopenmpt: C API: New stream callbacks for various platform ex…
…tensions to the C stdio interface: `openmpt_stream_get_file_posix_lfs64_callbacks()` in `libopenmpt/libopenmpt_stream_callbacks_file_posix_lfs64.h` for explicit `off64_t` on Posix systems, `openmpt_stream_get_file_posix_callbacks()` in `libopenmpt/libopenmpt_stream_callbacks_file_posix.h` for `off_t` on Posix systems, `openmpt_stream_get_file_msvcrt_callbacks()` in `libopenmpt/libopenmpt_stream_callbacks_file_msvcrt.h` for 64bit file support on Windows systems with the Microsoft C runtime, and `openmpt_stream_get_file_mingw_callbacks()` in `libopenmpt/libopenmpt_stream_callbacks_file_mingw.h` for 64bit file support when targetting MinGW. The old `openmpt_stream_get_file_callbacks()` has been deprecated in favour of a stricly standard conforming `openmpt_stream_get_file_callbacks2()` in the same `libopenmpt/libopenmpt_stream_callbacks_file.h` header. `libopenmpt/libopenmpt.h` defines `LIBOPENMPT_STREAM_CALLBACKS_FILE_POSIX_LFS64`, `LIBOPENMPT_STREAM_CALLBACKS_FILE_POSIX`, `LIBOPENMPT_STREAM_CALLBACKS_FILE_MSVCRT`, and `LIBOPENMPT_STREAM_CALLBACKS_FILE_MINGW` respectively in order to allow for checking header availability. [Reg/Mod] libopenmpt: C API: `openmpt_stream_get_file_callbacks()` used to provide 64bit file access on some platforms where long is 32bit. This never worked reliably for all platforms though. The behaviour is now changed to always stick to what standard C supports with fseek and ftell, where the offset type is long. `openmpt_stream_get_file_callbacks()` is deprecated now due to behavioral change. Please migrate to `openmpt_stream_get_file_callbacks2()`. git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@16548 56274372-70c3-4bfc-bfc3-4c3a0b034d27
- Loading branch information
Showing
90 changed files
with
1,232 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.