Home
last modified time | relevance | path

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

/PHP-8.3/ext/ffi/
H A Dphp_ffi.h46 HashTable *weak_types; variable
H A Dffi.c3246 if (!FFI_G(weak_types)) { in zend_ffi_remember_type()
3247 FFI_G(weak_types) = emalloc(sizeof(HashTable)); in zend_ffi_remember_type()
3248 zend_hash_init(FFI_G(weak_types), 0, NULL, zend_ffi_type_hash_dtor, 0); in zend_ffi_remember_type()
3252 zend_hash_next_index_insert_ptr(FFI_G(weak_types), ZEND_FFI_TYPE_MAKE_OWNED(type)); in zend_ffi_remember_type()
5570 if (FFI_G(weak_types)) {
5572 fprintf(stderr, "WeakTypes: %d\n", zend_hash_num_elements(FFI_G(weak_types)));
5574 zend_hash_destroy(FFI_G(weak_types));
5575 efree(FFI_G(weak_types));
5576 FFI_G(weak_types) = NULL;

Completed in 21 milliseconds