A D | talloc.h | 45 #define talloc(ctx, type) (type *)talloc_named_const(ctx, sizeof(type), #type) argument 46 #define talloc_size(ctx, size) talloc_named_const(ctx, size, __location__) argument 48 #define talloc_new(ctx) talloc_named_const(ctx, 0, "talloc_new: " __location__) argument 50 #define talloc_zero(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type) argument 51 #define talloc_zero_size(ctx, size) _talloc_zero(ctx, size, __location__) argument 55 #define talloc_array_size(ctx, size, count) _talloc_array(ctx, size, count, __location__) argument 80 #define talloc_zero_p(ctx, type) talloc_zero(ctx, type) argument 81 #define talloc_p(ctx, type) talloc(ctx, type) argument 82 #define talloc_array_p(ctx, type, count) talloc_array(ctx, type, count) argument 83 #define talloc_realloc_p(ctx, p, type, count) talloc_realloc(ctx, p, type, count) argument [all …]
|