mirror of
https://github.com/samba-team/samba.git
synced 2025-08-08 13:49:29 +03:00
Doc.
This commit is contained in:
@ -54,8 +54,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* use gcc attribute to check printf fns */
|
||||
#ifdef __GNUC__
|
||||
/** Use gcc attribute to check printf fns. a1 is the 1-based index of
|
||||
* the parameter containing the format, and a2 the index of the first
|
||||
* argument. **/
|
||||
#define PRINTF_ATTRIBUTE(a1, a2) __attribute__ ((format (__printf__, a1, a2)))
|
||||
#else
|
||||
#define PRINTF_ATTRIBUTE(a1, a2)
|
||||
|
@ -34,6 +34,12 @@
|
||||
TALLOC_ALIGN alignment
|
||||
*/
|
||||
|
||||
/* TODO: We could allocate both the talloc_chunk structure, and the
|
||||
* memory it contains all in one allocation, which might be a bit
|
||||
* faster and perhaps use less memory overhead.
|
||||
*
|
||||
* That smells like a premature optimization, though. -- mbp */
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
/** Create a new talloc context. **/
|
||||
|
Reference in New Issue
Block a user