first zend_hash_add adds ns_ht, so it is (HashTable *) second zend_hash_add adds p_val, so it is (zval *)
am I missing something obvious? On 12/3/06, Matt Wilmas <[EMAIL PROTECTED]> wrote:
Hi Alexey, ----- Original Message ----- From: "Alexey Zakhlestin" Sent: Sunday, December 03, 2006 > On 12/3/06, Matt Wilmas <[EMAIL PROTECTED]> wrote: > > Hi Alexey, > > > > Not sure what the exact problem is, or if this is related, but in your > > loc_set() function's zend_hash_add() calls, you have sizeof(HashTable) and > > sizeof(zval). Shouldn't both of those be sizeof(HashTable *) ? :-) > > (HashTable *) and (zval *), actually > thanks Well, your variables being added, g_ht and ns_ht, are both HashTable * , so... ;-) > Alexey Zakhlestin > http://blog.milkfarmsoft.com/ Matt
-- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php