diff options
| author | Etienne Kneuss <colder@php.net> | 2008-06-06 23:53:43 +0000 |
|---|---|---|
| committer | Etienne Kneuss <colder@php.net> | 2008-06-06 23:53:43 +0000 |
| commit | b5eaa1005a79aa0163bd7f3372f2ae371ddb9684 (patch) | |
| tree | 46f0b9836c5939e95fa16dc74f2c01265a6873b6 /ext/spl/php_spl.c | |
| parent | 6b68a9424231c2addd0cae4876518dd94ddc8dc6 (diff) | |
| download | php-git-b5eaa1005a79aa0163bd7f3372f2ae371ddb9684.tar.gz | |
MFH: Implements C arrays wrapper
Diffstat (limited to 'ext/spl/php_spl.c')
| -rwxr-xr-x | ext/spl/php_spl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 25c74af3a9..f6961ac5ea 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -36,6 +36,7 @@ #include "spl_exceptions.h" #include "spl_observer.h" #include "spl_dllist.h" +#include "spl_fastarray.h" #include "spl_heap.h" #include "zend_exceptions.h" #include "zend_interfaces.h" @@ -162,6 +163,7 @@ PHP_FUNCTION(class_implements) SPL_ADD_CLASS(SplMinHeap, z_list, sub, allow, ce_flags); \ SPL_ADD_CLASS(SplMaxHeap, z_list, sub, allow, ce_flags); \ SPL_ADD_CLASS(SplPriorityQueue, z_list, sub, allow, ce_flags); \ + SPL_ADD_CLASS(SplFastArray, z_list, sub, allow, ce_flags); \ SPL_ADD_CLASS(BadFunctionCallException, z_list, sub, allow, ce_flags); \ SPL_ADD_CLASS(BadMethodCallException, z_list, sub, allow, ce_flags); \ SPL_ADD_CLASS(CachingIterator, z_list, sub, allow, ce_flags); \ @@ -780,6 +782,7 @@ PHP_MINIT_FUNCTION(spl) PHP_MINIT(spl_sxe)(INIT_FUNC_ARGS_PASSTHRU); PHP_MINIT(spl_dllist)(INIT_FUNC_ARGS_PASSTHRU); PHP_MINIT(spl_heap)(INIT_FUNC_ARGS_PASSTHRU); + PHP_MINIT(spl_fastarray)(INIT_FUNC_ARGS_PASSTHRU); PHP_MINIT(spl_observer)(INIT_FUNC_ARGS_PASSTHRU); return SUCCESS; |
