Re: problem in cleanup of cursors in oracle.c - can causephpto die!!
| From: | Stig S. Bakken | Date: | Thu, 22 Apr 1999 12:28:39 +0000 |
| Subject: | Re: problem in cleanup of cursors in oracle.c - can causephpto die!! | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5211@lists.php.net to get a copy of this message | ||
"Thies C. Arntzen" wrote:
>
> On Thu, 22 Apr 1999, Stig S. Bakken wrote:
>
> > Check out _php3_hash_apply in php3_hash.c
>
> hmm, that works on a HashTable* and not on the int that's returned by
> _register_list_destructors...
>
> so -> how do i get the HashTable from that int????
You have to grab the "list" or "plist" variable (it's either a global or
it is being passed around in macros), traverse the list_entry structs in
it and look for entries that have list_entry->type set to whatever
_register_list_destructors() returned.
- Stig
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net