mirror of
https://github.com/attractivechaos/klib
synced 2025-02-06 01:24:07 +03:00
improved backward compatibility
This commit is contained in:
parent
74bb4c4073
commit
7f452961e2
2
bgzf.h
2
bgzf.h
@ -76,6 +76,8 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
BGZF* bgzf_dopen(int fd, const char *mode);
|
BGZF* bgzf_dopen(int fd, const char *mode);
|
||||||
|
|
||||||
|
#define bgzf_fdopen(fd, mode) bgzf_dopen((fd), (mode)) // for backward compatibility
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Open the specified file for reading or writing.
|
* Open the specified file for reading or writing.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user