mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Refactored GC (incomplete)
This commit is contained in:
parent
2e3e96b24b
commit
b7938ab1bd
27 changed files with 571 additions and 783 deletions
|
@ -100,7 +100,7 @@ static zend_always_inline zend_string *zend_str_alloc(int len, int persistent)
|
|||
ret->gc.refcount = 1;
|
||||
ret->gc.u.v.type = IS_STRING;
|
||||
ret->gc.u.v.flags = (persistent ? IS_STR_PERSISTENT : 0);
|
||||
ret->gc.u.v.buffer = 0;
|
||||
ret->gc.u.v.gc_info = 0;
|
||||
ret->h = 0;
|
||||
ret->len = len;
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue