projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62f761
)
Doc fix.
author
Simon Josefsson
<simon@josefsson.org>
Tue, 11 Oct 2005 19:17:09 +0000
(19:17 +0000)
committer
Simon Josefsson
<simon@josefsson.org>
Tue, 11 Oct 2005 19:17:09 +0000
(19:17 +0000)
lib/gc.h
patch
|
blob
|
history
diff --git
a/lib/gc.h
b/lib/gc.h
index 9932770d83787cf2dd15f5c7c5ae901d14789a74..acfd3b9cc3b11d38c3d57e6cf2b3ec8f6336db07 100644
(file)
--- a/
lib/gc.h
+++ b/
lib/gc.h
@@
-68,7
+68,8
@@
extern void gc_set_allocators (gc_malloc_t func_malloc,
algorithm HASH, placing the result in the pre-allocated buffer OUT.
The required size of OUT depends on HASH, and is generally
GC_<HASH>_DIGEST_SIZE. For example, for GC_MD5 the output buffer
- must be 16 bytes. */
+ must be 16 bytes. The return value is 0 (GC_OK) on success, or
+ another Gc_rc error code. */
extern int
gc_hash_buffer (int hash, const void *in, size_t inlen, char *out);