Mercurial > hg > nginx
comparison src/core/ngx_module.h @ 6390:ff1e625ae55b
Core: ngx_module_t compatibility with C++.
Changes to NGX_MODULE_V1 and ngx_module_t in 85dea406e18f (1.9.11)
broke all modules written in C++, because ISO C++11 does not allow
conversion from string literal to char *.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
author | Piotr Sikora <piotrsikora@google.com> |
---|---|
date | Tue, 09 Feb 2016 16:31:26 -0800 |
parents | 85dea406e18f |
children | 3600bbfb43e3 |
comparison
equal
deleted
inserted
replaced
6389:3baf9aa36a79 | 6390:ff1e625ae55b |
---|---|
251 | 251 |
252 ngx_uint_t spare0; | 252 ngx_uint_t spare0; |
253 ngx_uint_t spare1; | 253 ngx_uint_t spare1; |
254 | 254 |
255 ngx_uint_t version; | 255 ngx_uint_t version; |
256 char *signature; | 256 const char *signature; |
257 | 257 |
258 void *ctx; | 258 void *ctx; |
259 ngx_command_t *commands; | 259 ngx_command_t *commands; |
260 ngx_uint_t type; | 260 ngx_uint_t type; |
261 | 261 |