diff options
author | Dave Beckett <dave@dajobe.org> | 2010-05-02 21:41:40 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2010-05-02 21:41:40 -0700 |
commit | 123600ca3c31ee571c764e3f1ebecfa5b3b107cf (patch) | |
tree | 11ca1d2ec025dd8f971b5aa2b20542d6c7ef6d11 /src/raptor.h | |
parent | 60b3f0c65438885218531d53d112c0d3fbab451e (diff) | |
download | raptor-123600ca3c31ee571c764e3f1ebecfa5b3b107cf.tar.gz |
autodocs
Diffstat (limited to 'src/raptor.h')
-rw-r--r-- | src/raptor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/raptor.h b/src/raptor.h index 22708438..1960e697 100644 --- a/src/raptor.h +++ b/src/raptor.h @@ -795,18 +795,20 @@ typedef int (*raptor_data_compare_function)(const void* data1, const void* data2 * * Designed to be passed into constructors * like raptor_www_fetch_to_string + * + * Return value: pointer to newly allocated memory or NULL on failure */ typedef void* (*raptor_data_malloc_function)(size_t size); /** * raptor_data_free_function: - * @data: data object + * @data: data object or NULL * * Typedef for function to free a data object - signature like free() * * Designed to be passed into generic data structure constructors - * like raptor_new_avltree(). + * like raptor_new_avltree(). If @data is NULL, nothing should be done. */ typedef void (*raptor_data_free_function)(void* data); |