projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
f0c6d7f
)
- improve struct layout
author
Michael Wallner
<mike@php.net>
Wed, 12 Apr 2006 08:39:41 +0000
(08:39 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 12 Apr 2006 08:39:41 +0000
(08:39 +0000)
phpstr/phpstr.h
patch
|
blob
|
history
diff --git
a/phpstr/phpstr.h
b/phpstr/phpstr.h
index 295ba3c1402c3f92388d83d6da97a51b6c052d9a..ac58c1d320f95c974080a693a24dfbce75a2561d 100644
(file)
--- a/
phpstr/phpstr.h
+++ b/
phpstr/phpstr.h
@@
-69,11
+69,12
@@
FREE_PHPSTR((free), (STR));
typedef struct _phpstr_t {
- size_t size;
char *data;
size_t used;
size_t free;
- int pmem;
+ size_t size;
+ unsigned pmem:1;
+ unsigned reserved:31;
} phpstr;
typedef enum _phpstr_free_t {