Go to the source code of this file.
Macros | |
#define | GC_ADDREF(h) ++GC_REFCOUNT(h) |
#define | GC_DELREF(h) --GC_REFCOUNT(h) |
#define | PBPHP_ASSERT(x) |
#define | PHP_PROTOBUF_VERSION "3.19.5" |
#define | PROTO_RETURN_VAL void |
#define | PROTO_STR zval |
#define | PROTO_STRLEN_P(obj) Z_STRLEN_P(obj) |
#define | PROTO_STRVAL_P(obj) Z_STRVAL_P(obj) |
#define | PROTO_VAL zval |
#define | PROTO_VAL_P(obj) (void*)Z_OBJ_P(obj) |
#define | RETURN_COPY(zv) do { ZVAL_COPY(return_value, zv); return; } while (0) |
#define | RETURN_COPY_VALUE(zv) do { ZVAL_COPY_VALUE(return_value, zv); return; } while (0) |
#define | RETURN_OBJ_COPY(r) do { RETVAL_OBJ_COPY(r); return; } while (0) |
#define | RETVAL_OBJ_COPY(r) ZVAL_OBJ_COPY(return_value, r) |
#define | zend_ce_countable spl_ce_Countable |
#define | ZVAL_OBJ_COPY(z, o) do { ZVAL_OBJ(z, o); GC_ADDREF(o); } while (0) |
Functions | |
void | Descriptors_Add (zend_object *desc) |
const zval * | get_generated_pool () |
void | NameMap_AddEnum (const upb_enumdef *m) |
void | NameMap_AddMessage (const upb_msgdef *m) |
const upb_enumdef * | NameMap_GetEnum (zend_class_entry *ce) |
const upb_msgdef * | NameMap_GetMessage (zend_class_entry *ce) |
void | ObjCache_Add (const void *key, zend_object *php_obj) |
void | ObjCache_Delete (const void *key) |
bool | ObjCache_Get (const void *key, zval *val) |
#define GC_ADDREF | ( | h | ) | ++GC_REFCOUNT(h) |
Definition at line 42 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define GC_DELREF | ( | h | ) | --GC_REFCOUNT(h) |
Definition at line 43 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define PBPHP_ASSERT | ( | x | ) |
Definition at line 139 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define PHP_PROTOBUF_VERSION "3.19.5" |
Definition at line 94 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define PROTO_RETURN_VAL void |
Definition at line 50 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define PROTO_STR zval |
Definition at line 60 of file protobuf/php/ext/google/protobuf/protobuf.h.
Definition at line 63 of file protobuf/php/ext/google/protobuf/protobuf.h.
Definition at line 62 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define PROTO_VAL zval |
Definition at line 59 of file protobuf/php/ext/google/protobuf/protobuf.h.
Definition at line 61 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define RETURN_COPY | ( | zv | ) | do { ZVAL_COPY(return_value, zv); return; } while (0) |
Definition at line 67 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define RETURN_COPY_VALUE | ( | zv | ) | do { ZVAL_COPY_VALUE(return_value, zv); return; } while (0) |
Definition at line 68 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define RETURN_OBJ_COPY | ( | r | ) | do { RETVAL_OBJ_COPY(r); return; } while (0) |
Definition at line 66 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define RETVAL_OBJ_COPY | ( | r | ) | ZVAL_OBJ_COPY(return_value, r) |
Definition at line 65 of file protobuf/php/ext/google/protobuf/protobuf.h.
#define zend_ce_countable spl_ce_Countable |
Definition at line 84 of file protobuf/php/ext/google/protobuf/protobuf.h.
Definition at line 64 of file protobuf/php/ext/google/protobuf/protobuf.h.
void Descriptors_Add | ( | zend_object * | desc | ) |
Definition at line 210 of file protobuf/php/ext/google/protobuf/protobuf.c.
const zval* get_generated_pool | ( | ) |
Definition at line 94 of file protobuf/php/ext/google/protobuf/protobuf.c.
void NameMap_AddEnum | ( | const upb_enumdef * | m | ) |
Definition at line 255 of file protobuf/php/ext/google/protobuf/protobuf.c.
void NameMap_AddMessage | ( | const upb_msgdef * | m | ) |
Definition at line 249 of file protobuf/php/ext/google/protobuf/protobuf.c.
const upb_enumdef* NameMap_GetEnum | ( | zend_class_entry * | ce | ) |
Definition at line 285 of file protobuf/php/ext/google/protobuf/protobuf.c.
const upb_msgdef* NameMap_GetMessage | ( | zend_class_entry * | ce | ) |
Definition at line 261 of file protobuf/php/ext/google/protobuf/protobuf.c.
void ObjCache_Add | ( | const void * | key, |
zend_object * | php_obj | ||
) |
Definition at line 219 of file protobuf/php/ext/google/protobuf/protobuf.c.
void ObjCache_Delete | ( | const void * | key | ) |
Definition at line 224 of file protobuf/php/ext/google/protobuf/protobuf.c.
Definition at line 232 of file protobuf/php/ext/google/protobuf/protobuf.c.