From 2ce70d4f5a30973b4cc083dbbb38b519007a31bd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 21 Mar 2009 20:02:42 +0100 Subject: [PATCH] Document _talloc --- lib/talloc/talloc.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h index f3aa6def63e..01e7326ccc6 100644 --- a/lib/talloc/talloc.h +++ b/lib/talloc/talloc.h @@ -635,7 +635,16 @@ typedef void TALLOC_CTX; #define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0) -/* The following definitions come from talloc.c */ +/** + * \brief Allocate untyped, unnamed memory + * \param context The talloc context to hang the result off + * \param size Number of char's that you want to allocate + * \return The allocated memory chunk + * \ingroup talloc_internal + * + * Essentially the same as talloc_size() without setting the chunk name to the + * current file/line number. + */ void *_talloc(const void *context, size_t size); /** -- 2.34.1