Download src/php/php-src/ext/intl/common/common_enum.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 3.12 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/intl/common/common_enum.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/intl/common/common_enum.h
-
curl -L -o common_enum.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/intl/common/common_enum.h
3.12 kB
| /* | |
| +----------------------------------------------------------------------+ | |
| | This source file is subject to version 3.01 of the PHP license, | | |
| | that is bundled with this package in the file LICENSE, and is | | |
| | available through the world-wide-web at the following url: | | |
| | https://www.php.net/license/3_01.txt | | |
| | If you did not receive a copy of the PHP license and are unable to | | |
| | obtain it through the world-wide-web, please send a note to | | |
| | license@php.net so we can mail you a copy immediately. | | |
| +----------------------------------------------------------------------+ | |
| | Authors: Vadim Savchuk <vsavchuk@productengine.com> | | |
| | Dmitry Lakhtyuk <dlakhtyuk@productengine.com> | | |
| +----------------------------------------------------------------------+ | |
| */ | |
| extern "C" { | |
| } | |
| typedef struct { | |
| intl_error err; | |
| zend_object_iterator *iterator; | |
| zend_object zo; | |
| } IntlIterator_object; | |
| static inline IntlIterator_object *php_intl_iterator_fetch_object(zend_object *obj) { | |
| return (IntlIterator_object *)((char*)(obj) - XtOffsetOf(IntlIterator_object, zo)); | |
| } | |
| typedef struct { | |
| zend_object_iterator zoi; | |
| zval current; | |
| zval wrapping_obj; | |
| void (*destroy_it)(zend_object_iterator *iterator); | |
| } zoi_with_current; | |
| extern zend_class_entry *IntlIterator_ce_ptr; | |
| extern zend_object_handlers IntlIterator_handlers; | |
| U_CFUNC void zoi_with_current_dtor(zend_object_iterator *iter); | |
| U_CFUNC zend_result zoi_with_current_valid(zend_object_iterator *iter); | |
| U_CFUNC zval *zoi_with_current_get_current_data(zend_object_iterator *iter); | |
| U_CFUNC void zoi_with_current_invalidate_current(zend_object_iterator *iter); | |
| U_CFUNC HashTable *zoi_with_current_get_gc(zend_object_iterator *iter, zval **table, int *n); | |
| using icu::StringEnumeration; | |
| U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object); | |
| U_CFUNC void intl_register_common_symbols(int module_number); | |