struct field bit
This commit is contained in:
parent
4611566512
commit
b7a20774f2
1 changed files with 3 additions and 3 deletions
|
@ -65,9 +65,9 @@ struct _node {
|
|||
struct _edge {
|
||||
char * pattern;
|
||||
node * child;
|
||||
unsigned short pattern_len; // 2 byte
|
||||
unsigned char opcode; // 1 byte
|
||||
unsigned char has_slug; // 1 bit
|
||||
unsigned char pattern_len; // 1 byte
|
||||
unsigned char opcode:4; // 4 bit
|
||||
unsigned char has_slug:1; // 1 bit
|
||||
};
|
||||
|
||||
struct _route {
|
||||
|
|
Loading…
Reference in a new issue