git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ba525
)
doxygen: talloc_get_type name fixed in Doxygen documentation
author
Kamen Mazdrashki
<kamen.mazdrashki@postpath.com>
Wed, 3 Mar 2010 20:07:12 +0000
(22:07 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 10 Mar 2010 16:11:55 +0000
(17:11 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/talloc/talloc.h
patch
|
blob
|
history
diff --git
a/lib/talloc/talloc.h
b/lib/talloc/talloc.h
index edd9b8ae88a309bb38b81e24e7a7ae027743abaa..4adc206d1200a9c95584f16b992ad97f4fe7b5bf 100644
(file)
--- a/
lib/talloc/talloc.h
+++ b/
lib/talloc/talloc.h
@@
-720,7
+720,7
@@
void talloc_set_type(const char *ptr, #type);
*
* @return The properly casted pointer given by ptr, NULL on error.
*/
-
void *talloc_get_nam
e(const void *ptr, #type);
+
type *talloc_get_typ
e(const void *ptr, #type);
#else
#define talloc_set_type(ptr, type) talloc_set_name_const(ptr, #type)
#define talloc_get_type(ptr, type) (type *)talloc_check_name(ptr, #type)