Remove unneccessary comments from struct
This commit is contained in:
parent
acb2ff1767
commit
150f7953a2
1 changed files with 1 additions and 15 deletions
16
include/r3.h
16
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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue