some api stuff from php3 variables.c
| From: | Thies C. Arntzen | Date: | Sun, 04 Jul 1999 13:42:37 +0000 |
| Subject: | some api stuff from php3 variables.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1880@lists.php.net to get a copy of this message | ||
hi zeev, andy,
things like:
php3i_long_pval & friend don't exist in php4 currently - will you put
them into the "official" zend api?
one question, what is the "official" descructor function that modules
should use (zend_dtor)? and what do we need to do for the ELS stuff when
destructing?
and again, what is the "official" way to create a new pval - as i
mentioned before i think that:
pval *value = emalloc(sizeof(pval));
value->type = IS_STRING;
value->value.str.len = size;
value->value.str.val = estrndup(column->data,size);
will leave is_ref and refcount in a undefined state, which is not what we
want - what would be the disadvantage for having an api-call for that?
regards,
tc
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany