[PHP-DEV] ext_skel

2003-01-05 Thread Andi Gutmans
Hi, Someone seems to have changed ext_skel to create the ZEND_FETCH_RESOURCE() call to be inside an if() statement to check the resource is non-zero, i.e.: if (myresource) { ZEND_FETCH_RESOURCE(); } What is the reason this was added? The resource mechanism checks for this automatically and

Re: Fwd: Re: [PHP-DEV] ext_skel

2002-12-25 Thread Leon Mergen
Hello, "David Gillies" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK, how about a much-expanded version for 4.3.1, say? > I'm a big fan of self-documenting code (use the > source, Luke). Perhaps a default function with all the > bells and whistles (checki

Re: Fwd: Re: [PHP-DEV] ext_skel

2002-12-23 Thread Andi Gutmans
; > >From: Andi Gutmans <[EMAIL PROTECTED]> > >Subject: Re: [PHP-DEV] ext_skel > > > >Yeah but then it might make sense to print > something like "Argument passed > >= ", no? > > > >Andi > > > >At 08:56 AM 12/23/2002 -0800, David

Re: Fwd: Re: [PHP-DEV] ext_skel

2002-12-23 Thread David Gillies
Jose Costa Rica --- Andi Gutmans <[EMAIL PROTECTED]> wrote: > > >To: David Gillies <[EMAIL PROTECTED]> > >From: Andi Gutmans <[EMAIL PROTECTED]> > >Subject: Re: [PHP-DEV] ext_skel > > > >Yeah but then it might make sense to print > something like

Fwd: Re: [PHP-DEV] ext_skel

2002-12-23 Thread Andi Gutmans
To: David Gillies <[EMAIL PROTECTED]> From: Andi Gutmans <[EMAIL PROTECTED]> Subject: Re: [PHP-DEV] ext_skel Yeah but then it might make sense to print something like "Argument passed = ", no? Andi At 08:56 AM 12/23/2002 -0800, David Gillies wrote: Well, if nothin

[PHP-DEV] ext_skel

2002-12-21 Thread Andi Gutmans
Hey, What's the reason that confirm_myextension_compiled(..) takes a string as an argument? Why doesn't it just use the string "myextension" in it's message? For those who don't remember it prints out "Congratulations! You have successfully modified ext/myextension/config.m4. Module myextension

Re: [PHP-DEV] EXT_SKEL for Win32

2001-08-23 Thread David Eriksson
On Wed, 22 Aug 2001, Chris Gardner wrote: > i was noticing a slight problem with the whole EXT_SKEL shell script. it > works great for getting a new package up and running, but only if your' > doing all your using basically the gcc compiler. well, i've been trying to > create an extension libra

Re: [PHP-DEV] EXT_SKEL for Win32

2001-08-22 Thread Zeev Suraski
At 21:42 22-08-01, Chris Gardner wrote: >i was noticing a slight problem with the whole EXT_SKEL shell script. it >works great for getting a new package up and running, but only if your' >doing all your using basically the gcc compiler. well, i've been trying to >create an extension library for

[PHP-DEV] EXT_SKEL for Win32

2001-08-22 Thread Chris Gardner
i was noticing a slight problem with the whole EXT_SKEL shell script. it works great for getting a new package up and running, but only if your' doing all your using basically the gcc compiler. well, i've been trying to create an extension library for php, and i am mainly using visual c++ 6 sp 3

[PHP-DEV] EXT_SKEL question

2001-08-21 Thread md
Hello Rasmus and Zeev and all the others: Back in March, I attempted to get to the bottom self contained extensions. I never succeeded at doing that, but I was able to get embedded extensions compiled and working. Unfortunately, I lost a hard drive last week and my PHP development environment w

Re: [PHP-DEV] ext_skel and php_.c vs. .c

2001-07-21 Thread Stig S. Bakken
Jon Parise wrote: > > On Thu, Jul 19, 2001 at 05:50:42PM -0600, Joey Smith wrote: > > > I had thought the decision was that php_.c was the correct way > > to name the .c file for an extension, so that we are less likely to > > conflict with any files from the package itself? > > > > ext_skel cre

Re: [PHP-DEV] ext_skel and php_.c vs. .c

2001-07-19 Thread Jon Parise
On Thu, Jul 19, 2001 at 05:50:42PM -0600, Joey Smith wrote: > I had thought the decision was that php_.c was the correct way > to name the .c file for an extension, so that we are less likely to > conflict with any files from the package itself? > > ext_skel creates a .c file using the bare extn

[PHP-DEV] ext_skel and php_.c vs. .c

2001-07-19 Thread Joey Smith
I had thought the decision was that php_.c was the correct way to name the .c file for an extension, so that we are less likely to conflict with any files from the package itself? ext_skel creates a .c file using the bare extname. -- PHP Development Mailing List To unsubs