Re: Re: Cross-extension resource

From: Date: Fri, 01 Dec 2006 18:06:46 +0000
Subject: Re: Re: Cross-extension resource
Groups: php.internals 
Request: Send a blank email to internals+get-26749@lists.php.net to get a copy of this message
Sorry if the question was answered before, I will try to look harder next time. Don't worry, that comment wasn't meant as a reproach. Just an expression of surprise at the number of times I've been asked about it. Most of these queries have been offlist though, so it's not surprising that you didn't see them.
- The php_mysql.h file doesn't include the constants for the resource name, so I defined a constant in my own code. - The php_mysql_conn type is not defined in the .h file, so it was also replicated. Yeah, that's the awkward part of sharing resources that weren't designed to be shared. Unfortunately there's no good solution for it beyond what you've done.
You're again right about the inclusion of the function in Appendix A, I was worried if this usage was "correct" enough. Sure sure, the coverage wasn't in-depth, just a note that the function exists and here's how to call it. I'd expect it to need a little clarification...
-Sara

« previous php.internals (#26749) next »