Skip to content
This repository
Browse code

improved backward compatibility

  • Loading branch information...
commit 7f452961e2b6650eb51870bc67617b2d3f6ad171 1 parent 74bb4c4
authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  bgzf.h
2  bgzf.h
@@ -76,6 +76,8 @@ extern "C" {
76 76
 	 */
77 77
 	BGZF* bgzf_dopen(int fd, const char *mode);
78 78
 
  79
+	#define bgzf_fdopen(fd, mode) bgzf_dopen((fd), (mode)) // for backward compatibility
  80
+
79 81
 	/**
80 82
 	 * Open the specified file for reading or writing.
81 83
 	 */

0 notes on commit 7f45296

Please sign in to comment.
Something went wrong with that request. Please try again.