Home
last modified time | relevance | path

Searched refs:weak_types (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/ext/ffi/
H A Dphp_ffi.h46 HashTable *weak_types; variable
H A Dffi.c3141 if (!FFI_G(weak_types)) { in zend_ffi_remember_type()
3142 FFI_G(weak_types) = emalloc(sizeof(HashTable)); in zend_ffi_remember_type()
3143 zend_hash_init(FFI_G(weak_types), 0, NULL, zend_ffi_type_hash_dtor, 0); in zend_ffi_remember_type()
3147 zend_hash_next_index_insert_ptr(FFI_G(weak_types), ZEND_FFI_TYPE_MAKE_OWNED(type)); in zend_ffi_remember_type()
5110 if (FFI_G(weak_types)) {
5112 fprintf(stderr, "WeakTypes: %d\n", zend_hash_num_elements(FFI_G(weak_types)));
5114 zend_hash_destroy(FFI_G(weak_types));
5115 efree(FFI_G(weak_types));
5116 FFI_G(weak_types) = NULL;

Completed in 28 milliseconds