Mercurial > hg > nginx
comparison src/core/ngx_string.h @ 1956:cb8c0c8e0c27
use ngx_int_t in ngx_sort() callback
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 24 Mar 2008 13:04:02 +0000 |
parents | ec63069aeb78 |
children | 66dc85397a90 |
comparison
equal
deleted
inserted
replaced
1955:466fdc84c82d | 1956:cb8c0c8e0c27 |
---|---|
171 uintptr_t ngx_escape_html(u_char *dst, u_char *src, size_t size); | 171 uintptr_t ngx_escape_html(u_char *dst, u_char *src, size_t size); |
172 | 172 |
173 | 173 |
174 | 174 |
175 void ngx_sort(void *base, size_t n, size_t size, | 175 void ngx_sort(void *base, size_t n, size_t size, |
176 int (*cmp)(const void *, const void *)); | 176 ngx_int_t (*cmp)(const void *, const void *)); |
177 #define ngx_qsort qsort | 177 #define ngx_qsort qsort |
178 | 178 |
179 | 179 |
180 #define ngx_value_helper(n) #n | 180 #define ngx_value_helper(n) #n |
181 #define ngx_value(n) ngx_value_helper(n) | 181 #define ngx_value(n) ngx_value_helper(n) |