diff options
author | Nikita Popov <nikic@php.net> | 2014-09-22 23:39:07 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-09-22 23:45:13 +0200 |
commit | 982f02afe6b5e4972438a29ca5815df816e0fa16 (patch) | |
tree | c1c0f6a70b51a1ef2f723399d12f78ab43a7f54f /Zend/zend_dynamic_array.h | |
parent | 02bb637bb8fef6612eb49f862eb7dd9529b3cf76 (diff) | |
download | php-git-982f02afe6b5e4972438a29ca5815df816e0fa16.tar.gz |
Remove zend_dynamic_array
This was introduced back in 2000 to test a new hashtable
implementation and is no longer used.
Diffstat (limited to 'Zend/zend_dynamic_array.h')
-rw-r--r-- | Zend/zend_dynamic_array.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/Zend/zend_dynamic_array.h b/Zend/zend_dynamic_array.h deleted file mode 100644 index e69eb18768..0000000000 --- a/Zend/zend_dynamic_array.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - +----------------------------------------------------------------------+ - | Zend Engine | - +----------------------------------------------------------------------+ - | Copyright (c) 1998-2014 Zend Technologies Ltd. (http://www.zend.com) | - +----------------------------------------------------------------------+ - | This source file is subject to version 2.00 of the Zend license, | - | that is bundled with this package in the file LICENSE, and is | - | available through the world-wide-web at the following url: | - | http://www.zend.com/license/2_00.txt. | - | If you did not receive a copy of the Zend license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@zend.com so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Authors: Andi Gutmans <andi@zend.com> | - | Zeev Suraski <zeev@zend.com> | - +----------------------------------------------------------------------+ -*/ - -/* $Id$ */ - -#ifndef ZEND_DYNAMIC_ARRAY_H -#define ZEND_DYNAMIC_ARRAY_H - -typedef struct _dynamic_array { - char *array; - unsigned int element_size; - unsigned int last_used; - unsigned int allocated; -} dynamic_array; - -BEGIN_EXTERN_C() -ZEND_API int zend_dynamic_array_init(dynamic_array *da, unsigned int element_size, unsigned int size); -ZEND_API void *zend_dynamic_array_push(dynamic_array *da); -ZEND_API void *zend_dynamic_array_pop(dynamic_array *da); -ZEND_API void *zend_dynamic_array_get_element(dynamic_array *da, unsigned int index); -END_EXTERN_C() - -#endif /* ZEND_DYNAMIC_ARRAY_H */ - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * indent-tabs-mode: t - * End: - */ |