mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-05 01:53:32 +01:00
ef9a0d2048
Also, apply it.
39 lines
511 B
Plaintext
39 lines
511 B
Plaintext
@cast_malloc@
|
|
expression e;
|
|
type T;
|
|
@@
|
|
- (T *)tor_malloc(e)
|
|
+ tor_malloc(e)
|
|
|
|
@cast_malloc_zero@
|
|
expression e;
|
|
type T;
|
|
identifier func;
|
|
@@
|
|
- (T *)tor_malloc_zero(e)
|
|
+ tor_malloc_zero(e)
|
|
|
|
@cast_calloc@
|
|
expression a, b;
|
|
type T;
|
|
identifier func;
|
|
@@
|
|
- (T *)tor_calloc(a, b)
|
|
+ tor_calloc(a, b)
|
|
|
|
@cast_realloc@
|
|
expression e;
|
|
expression p;
|
|
type T;
|
|
@@
|
|
- (T *)tor_realloc(p, e)
|
|
+ tor_realloc(p, e)
|
|
|
|
@cast_reallocarray@
|
|
expression a,b;
|
|
expression p;
|
|
type T;
|
|
@@
|
|
- (T *)tor_reallocarray(p, a, b)
|
|
+ tor_reallocarray(p, a, b)
|