Remove unneccessary comments from struct
This commit is contained in:
parent
7e08440d0c
commit
985c8593dd
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 {
|
struct _node {
|
||||||
edge * edges;
|
edge * edges;
|
||||||
// edge ** edge_table;
|
|
||||||
char * combined_pattern;
|
char * combined_pattern;
|
||||||
pcre * pcre_pattern;
|
pcre * pcre_pattern;
|
||||||
|
|
||||||
// #ifdef PCRE_STUDY_JIT_COMPILE
|
|
||||||
pcre_extra * pcre_extra;
|
pcre_extra * pcre_extra;
|
||||||
// #endif
|
|
||||||
|
|
||||||
// edges are mostly less than 255
|
// edges are mostly less than 255
|
||||||
unsigned int edge_len;
|
unsigned int edge_len;
|
||||||
|
@ -47,18 +43,8 @@ struct _node {
|
||||||
unsigned char edge_cap;
|
unsigned char edge_cap;
|
||||||
unsigned char route_len;
|
unsigned char route_len;
|
||||||
unsigned char route_cap;
|
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;
|
route ** routes;
|
||||||
|
// the pointer of route data
|
||||||
/**
|
|
||||||
* the pointer of route data
|
|
||||||
*/
|
|
||||||
void * data;
|
void * data;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue