From 150f7953a25ded4816e79ac42368b9512809c1cc Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 10 Nov 2015 21:02:47 +0800 Subject: [PATCH] Remove unneccessary comments from struct --- include/r3.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/include/r3.h b/include/r3.h index 1a7fb15..01f8aac 100644 --- a/include/r3.h +++ b/include/r3.h @@ -29,13 +29,9 @@ typedef struct _route route; struct _node { edge * edges; - // edge ** edge_table; char * combined_pattern; pcre * pcre_pattern; - -// #ifdef PCRE_STUDY_JIT_COMPILE pcre_extra * pcre_extra; -// #endif // edges are mostly less than 255 unsigned int edge_len; @@ -47,18 +43,8 @@ struct _node { unsigned char edge_cap; unsigned char route_len; unsigned char route_cap; - // <-- here comes a char[1] struct padding for alignment since we have 4 char above. - - - /** compile-time variables here.... **/ - - /* the combined regexp pattern string from pattern_tokens */ - route ** routes; - - /** - * the pointer of route data - */ + // the pointer of route data void * data; };