aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_array.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-07 15:29:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-07 15:29:22 +0000
commit59cf56c5d975725be9e2adc84170ffe0c638fa48 (patch)
treed355ce8975bbcacc29cdf54ffac45c84b55649a0 /src/core/ngx_array.h
parentaab4d8c0c4aa068cc7ddcb1c5daee330d9dec47a (diff)
downloadnginx-59cf56c5d975725be9e2adc84170ffe0c638fa48.tar.gz
nginx-59cf56c5d975725be9e2adc84170ffe0c638fa48.zip
nginx-0.0.10-2004-09-07-19:29:22 import
Diffstat (limited to 'src/core/ngx_array.h')
-rw-r--r--src/core/ngx_array.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_array.h b/src/core/ngx_array.h
index 848596cdf..fadb203fb 100644
--- a/src/core/ngx_array.h
+++ b/src/core/ngx_array.h
@@ -41,5 +41,7 @@ ngx_inline static ngx_int_t ngx_array_init(ngx_array_t *array, ngx_pool_t *pool,
ngx_test_null(a.elts, ngx_palloc(p, n * s), rc); \
a.nelts = 0; a.size = s; a.nalloc = n; a.pool = p;
+#define ngx_array_push ngx_push_array
+
#endif /* _NGX_ARRAY_H_INCLUDED_ */