comparison src/core/ngx_array.h @ 427:0d08eabe5c7b

nginx-0.0.10-2004-09-15-20:00:43 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 15 Sep 2004 16:00:43 +0000
parents 0526206251f6
children da8c5707af39
comparison
equal deleted inserted replaced
426:3f88935a02e8 427:0d08eabe5c7b
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 44 #define ngx_array_create ngx_create_array
45 #define ngx_array_push ngx_push_array
45 46
46 47
47 #endif /* _NGX_ARRAY_H_INCLUDED_ */ 48 #endif /* _NGX_ARRAY_H_INCLUDED_ */