summaryrefslogtreecommitdiff
path: root/include/llvm-c/BitWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm-c/BitWriter.h')
-rw-r--r--include/llvm-c/BitWriter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm-c/BitWriter.h b/include/llvm-c/BitWriter.h
index bc5699f1a9..008ff9f2c1 100644
--- a/include/llvm-c/BitWriter.h
+++ b/include/llvm-c/BitWriter.h
@@ -28,7 +28,8 @@ extern "C" {
/*===-- Operations on modules ---------------------------------------------===*/
-/* Writes a module to an open file descriptor. Returns 0 on success. */
+/* Writes a module to an open file descriptor. Returns 0 on success.
+ Closes the Handle. Use dup first if this is not what you want. */
int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle);
/* Writes a module to the specified path. Returns 0 on success. */