Skip to content

Commit eedf974

Browse files
author
Chrono Law
committed
Merge branch 'master' of github.com:chronolaw/ngx_cpp_dev
2 parents 0617791 + 8fc1479 commit eedf974

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ngxpp/NgxString.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
#include "NgxWrapper.hpp"
1313

14+
// typed nginx string
15+
#define typed_ngx_string(str) ngx_str_t ngx_string(str)
16+
#define typed_ngx_null_string ngx_str_t ngx_null_string
17+
1418
class NgxString final : public NgxWrapper<ngx_str_t>
1519
{
1620
public:

0 commit comments

Comments
 (0)