summaryrefslogtreecommitdiff
path: root/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
commit919852b0e6feacf266e9278ba54cbf7dd22240a4 (patch)
treee3d386829b23d08edcda41073ee31519c4ea78a5 /include/llvm-c
parente0ff9ae91e0490cb43ab05ca90416e6b03dffc18 (diff)
downloadllvm-919852b0e6feacf266e9278ba54cbf7dd22240a4.tar.gz
llvm-919852b0e6feacf266e9278ba54cbf7dd22240a4.tar.bz2
llvm-919852b0e6feacf266e9278ba54cbf7dd22240a4.tar.xz
Improve documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-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. */