Macros | Functions
protobuf/php/ext/google/protobuf/protobuf.h File Reference
#include <php.h>
#include <stdbool.h>
#include "php-upb.h"
Include dependency graph for protobuf/php/ext/google/protobuf/protobuf.h:
This graph shows which files directly or indirectly include this file:

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_enumdefNameMap_GetEnum (zend_class_entry *ce)
 
const upb_msgdefNameMap_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)
 

Macro Definition Documentation

◆ GC_ADDREF

#define GC_ADDREF (   h)    ++GC_REFCOUNT(h)

Definition at line 42 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ GC_DELREF

#define GC_DELREF (   h)    --GC_REFCOUNT(h)

Definition at line 43 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ PBPHP_ASSERT

#define PBPHP_ASSERT (   x)
Value:
do { \
} while (false && (x))

Definition at line 139 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTOBUF_VERSION

#define PHP_PROTOBUF_VERSION   "3.19.5"

Definition at line 94 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ PROTO_RETURN_VAL

#define PROTO_RETURN_VAL   void

Definition at line 50 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ PROTO_STR

#define PROTO_STR   zval

Definition at line 60 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ PROTO_STRLEN_P

#define PROTO_STRLEN_P (   obj)    Z_STRLEN_P(obj)

Definition at line 63 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ PROTO_STRVAL_P

#define PROTO_STRVAL_P (   obj)    Z_STRVAL_P(obj)

Definition at line 62 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ PROTO_VAL

#define PROTO_VAL   zval

Definition at line 59 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ PROTO_VAL_P

#define PROTO_VAL_P (   obj)    (void*)Z_OBJ_P(obj)

Definition at line 61 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ RETURN_COPY

#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.

◆ RETURN_COPY_VALUE

#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.

◆ RETURN_OBJ_COPY

#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.

◆ RETVAL_OBJ_COPY

#define RETVAL_OBJ_COPY (   r)    ZVAL_OBJ_COPY(return_value, r)

Definition at line 65 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ zend_ce_countable

#define zend_ce_countable   spl_ce_Countable

Definition at line 84 of file protobuf/php/ext/google/protobuf/protobuf.h.

◆ ZVAL_OBJ_COPY

#define ZVAL_OBJ_COPY (   z,
  o 
)    do { ZVAL_OBJ(z, o); GC_ADDREF(o); } while (0)

Definition at line 64 of file protobuf/php/ext/google/protobuf/protobuf.h.

Function Documentation

◆ Descriptors_Add()

void Descriptors_Add ( zend_object *  desc)

Definition at line 210 of file protobuf/php/ext/google/protobuf/protobuf.c.

◆ get_generated_pool()

const zval* get_generated_pool ( )

Definition at line 94 of file protobuf/php/ext/google/protobuf/protobuf.c.

◆ NameMap_AddEnum()

void NameMap_AddEnum ( const upb_enumdef m)

Definition at line 255 of file protobuf/php/ext/google/protobuf/protobuf.c.

◆ NameMap_AddMessage()

void NameMap_AddMessage ( const upb_msgdef m)

Definition at line 249 of file protobuf/php/ext/google/protobuf/protobuf.c.

◆ NameMap_GetEnum()

const upb_enumdef* NameMap_GetEnum ( zend_class_entry *  ce)

Definition at line 285 of file protobuf/php/ext/google/protobuf/protobuf.c.

◆ NameMap_GetMessage()

const upb_msgdef* NameMap_GetMessage ( zend_class_entry *  ce)

Definition at line 261 of file protobuf/php/ext/google/protobuf/protobuf.c.

◆ ObjCache_Add()

void ObjCache_Add ( const void *  key,
zend_object *  php_obj 
)

Definition at line 219 of file protobuf/php/ext/google/protobuf/protobuf.c.

◆ ObjCache_Delete()

void ObjCache_Delete ( const void *  key)

Definition at line 224 of file protobuf/php/ext/google/protobuf/protobuf.c.

◆ ObjCache_Get()

bool ObjCache_Get ( const void *  key,
zval *  val 
)

Definition at line 232 of file protobuf/php/ext/google/protobuf/protobuf.c.

x
int x
Definition: bloaty/third_party/googletest/googlemock/test/gmock-matchers_test.cc:3610


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:27