comparison src/core/ngx_array.h @ 417:0526206251f6

nginx-0.0.10-2004-09-07-19:29:22 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 07 Sep 2004 15:29:22 +0000
parents b9bd635011de
children 0d08eabe5c7b
comparison
equal deleted inserted replaced
416:b9bd635011de 417:0526206251f6
39 39
40 #define ngx_init_array(a, p, n, s, rc) \ 40 #define ngx_init_array(a, p, n, s, rc) \
41 ngx_test_null(a.elts, ngx_palloc(p, n * s), rc); \ 41 ngx_test_null(a.elts, ngx_palloc(p, n * s), rc); \
42 a.nelts = 0; a.size = s; a.nalloc = n; a.pool = p; 42 a.nelts = 0; a.size = s; a.nalloc = n; a.pool = p;
43 43
44 #define ngx_array_push ngx_push_array
45
44 46
45 #endif /* _NGX_ARRAY_H_INCLUDED_ */ 47 #endif /* _NGX_ARRAY_H_INCLUDED_ */