summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-05-06 19:17:01 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-05-06 19:17:01 +0000
commit6ea927b1d7624bed517daf3bcd7a018dbf91927a (patch)
treefb3784e9169b0716e2aa9075177e6c14921658e8 /llvm/include/llvm-c
parent13e74879b05676ebf0326817e468823428c853d1 (diff)
downloadbcm5719-llvm-6ea927b1d7624bed517daf3bcd7a018dbf91927a.tar.gz
bcm5719-llvm-6ea927b1d7624bed517daf3bcd7a018dbf91927a.zip
Improve documentation.
llvm-svn: 50768
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/BitWriter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/BitWriter.h b/llvm/include/llvm-c/BitWriter.h
index bc5699f1a9a..008ff9f2c10 100644
--- a/llvm/include/llvm-c/BitWriter.h
+++ b/llvm/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. */
OpenPOWER on IntegriCloud