mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-09-26 19:41:13 +08:00
26 lines
723 B
C
26 lines
723 B
C
#ifndef TYPES_H
|
|
#define TYPES_H
|
|
|
|
#include <zend.h>
|
|
#include <zend_API.h>
|
|
#include <zend_alloc.h>
|
|
#include <zend_hash.h>
|
|
#include <zend_types.h>
|
|
|
|
zval *get_ht_packed_data(HashTable *, uint32_t index);
|
|
Bucket *get_ht_bucket_data(HashTable *, uint32_t index);
|
|
|
|
void *__emalloc__(size_t size);
|
|
void __zend_hash_init__(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor,
|
|
bool persistent);
|
|
|
|
void __zval_null__(zval *zv);
|
|
void __zval_bool__(zval *zv, bool val);
|
|
void __zval_long__(zval *zv, zend_long val);
|
|
void __zval_double__(zval *zv, double val);
|
|
void __zval_string__(zval *zv, zend_string *str);
|
|
void __zval_arr__(zval *zv, zend_array *arr);
|
|
zend_array *__zend_new_array__(uint32_t size);
|
|
|
|
#endif
|