summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-22 09:47:37 +0100
committerVolker Lendecke <vl@samba.org>2009-03-22 09:47:37 +0100
commit257ea7e6f10ab4eda4efae0d6ad0cdc2bd49ffd8 (patch)
treee7166c1f36be3204ba831bfca2ddbce742e049cf /lib
parent59dff5745528a3efe585cdeb03e2bedd6b2e404a (diff)
downloadsamba-257ea7e6f10ab4eda4efae0d6ad0cdc2bd49ffd8.tar.gz
samba-257ea7e6f10ab4eda4efae0d6ad0cdc2bd49ffd8.tar.bz2
samba-257ea7e6f10ab4eda4efae0d6ad0cdc2bd49ffd8.zip
Revert "Document talloc_zero_array()"
This reverts commit 59dff5745528a3efe585cdeb03e2bedd6b2e404a.
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/talloc.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h
index ae488baf32..9806bdd3ad 100644
--- a/lib/talloc/talloc.h
+++ b/lib/talloc/talloc.h
@@ -426,22 +426,6 @@ typedef void TALLOC_CTX;
#define talloc_zero_size(ctx, size) _talloc_zero(ctx, size, __location__)
-/**
- * \def talloc_zero_array(ctx, type, count)
- * \brief Allocate a 0-initialized array
- * \param ctx The talloc context to hang the result off
- * \param type The type that we want to allocate
- * \param count The number of "type" elements you want to allocate
- * \return The allocated result, properly cast to "type *"
- * \ingroup talloc_array
- *
- * The talloc_zero_array() macro is equivalent to:
- *
- * \code
- * ptr = talloc_array(ctx, type, count);
- * if (ptr) memset(ptr, sizeof(type) * count);
- * \endcode
- */
#define talloc_zero_array(ctx, type, count) (type *)_talloc_zero_array(ctx, sizeof(type), count, #type)
/**