mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
talloc: Documentation fix for talloc
This commit is contained in:
parent
dfd7ad2083
commit
485def3b5d
@ -362,7 +362,7 @@ talloc_set_name_const(ptr, name);</programlisting>
|
||||
<refsect2><title>void *talloc_new(void *<emphasis role="italic">ctx</emphasis>);</title>
|
||||
<para>
|
||||
This is a utility macro that creates a new memory context hanging
|
||||
off an exiting context, automatically naming it "talloc_new:
|
||||
off an existing context, automatically naming it "talloc_new:
|
||||
__location__" where __location__ is the source line it is called
|
||||
from. It is particularly useful for creating a new temporary
|
||||
working context.
|
||||
|
@ -520,7 +520,7 @@ void *talloc_ptrtype(const void *ctx, #type);
|
||||
* @brief Allocate a new 0-sized talloc chunk.
|
||||
*
|
||||
* This is a utility macro that creates a new memory context hanging off an
|
||||
* exiting context, automatically naming it "talloc_new: __location__" where
|
||||
* existing context, automatically naming it "talloc_new: __location__" where
|
||||
* __location__ is the source line it is called from. It is particularly
|
||||
* useful for creating a new temporary working context.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user