diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-15 15:47:24 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-15 15:47:24 +0000 |
commit | b0bfa458b5c30a2992eb3f433d9e57b32195e3fb (patch) | |
tree | 0abf2dafddf9d636aefe460db52766af220b2c9d /Zend/zend.c | |
parent | d2c16bf5bd084dce9893061f9d878c379aba3ce1 (diff) | |
download | php-git-b0bfa458b5c30a2992eb3f433d9e57b32195e3fb.tar.gz |
* Fix all hash checks that checked Bucket.arKey for NULL, when it was changed
to char[1], these checks should have been changed to Bucket.nKeyLength==0
* Support runtime declaration of functions. I ended up changing the grammar
to catch top level functions vs. nested functions. The reason is simple -
if we don't have functions properly declared at compile-time, function calls
cannot be resolved at compile time, and have to be resolved at runtime, which
ends up being much much slower (without the optimizer, that is).
It's no biggy though, the grammar change isn't that bad.
Diffstat (limited to 'Zend/zend.c')
-rw-r--r-- | Zend/zend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index f9b0640d09..0ede40804b 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -320,6 +320,7 @@ void zenderror(char *error) } +BEGIN_EXTERN_C() ZEND_API void zend_bailout() { CLS_FETCH(); @@ -328,6 +329,7 @@ ZEND_API void zend_bailout() CG(unclean_shutdown) = 1; longjmp(EG(bailout), FAILURE); } +END_EXTERN_C() void zend_append_version_info(zend_extension *extension) |