Re: [PHP-DEV] Writeing OO exteions for PHP 4.3

2004-09-03 Thread George Schlossnagle
On Sep 3, 2004, at 2:33 PM, Jan Gerritsen wrote: Hi, If I understand you correctly you can put this pointer inside of a resource container and return the resource container to user space as the return value from url_init(). Then, from url_set_string() you accept the resource as a parameter and ext

Re: [PHP-DEV] Writeing OO exteions for PHP 4.3

2004-09-03 Thread Jan Gerritsen
Hi, If I understand you correctly you can put this pointer inside of a resource container and return the resource container to user space as the return value from url_init(). Then, from url_set_string() you accept the resource as a parameter and extract the pointer to your CPP instance of whatever

Re: [PHP-DEV] Writeing OO exteions for PHP 4.3

2004-09-03 Thread John Coggeshall
If I understand you correctly you can put this pointer inside of a resource container and return the resource container to user space as the return value from url_init(). Then, from url_set_string() you accept the resource as a parameter and extract the pointer to your CPP instance of whatever clas