stackdriver_trace_span.c
/**
 * Returns an allocated initialized pointer to a stackdriver_trace_span_t struct
 * Note that you will have to call stackdriver_trace_span_free yourself when
 * it's time to clean up the memory
 */
Returns an allocated initialized pointer to a stackdriver_trace_span_t struct
Note that you will have to call stackdriver_trace_span_free yourself when
it's time to clean up the memory
Returns an allocated initialized pointer to a stackdriver_trace_span_t struct Note that you will have to call stackdriver_trace_span_free yourself when it ' s time to clean up the memory
stackdriver_trace_span_t *stackdriver_trace_span_alloc()
{
    stackdriver_trace_span_t *span = emalloc(sizeof(stackdriver_trace_span_t));
    span->name = NULL;
    span->parent = NULL;
    span->span_id = 0;
    span->start = 0;
    span->stop = 0;
    ALLOC_HASHTABLE(span->labels);
    zend_hash_init(span->labels, 4, NULL, ZVAL_PTR_DTOR, 0);
    return span;
}
stackdriver_trace_span_t * stackdriver_trace_span_alloc ( ) { stackdriver_trace_span_t * span = emalloc ( sizeof ( stackdriver_trace_span_t ) ) ; span -> name = NULL ; span -> parent = NULL ; span -> span_id = 0 ; span -> start = 0 ; span -> stop = 0 ; ALLOC_HASHTABLE ( span -> labels ) ; zend_hash_init ( span -> labels , 4 , NULL , ZVAL_PTR_DTOR , 0 ) ; return span ; }
Returns an allocated initialized pointer to a stackdriver_trace_span_t struct
 Note that you will have to call stackdriver_trace_span_free yourself when
 it's time to clean up the memory
Returns an allocated initialized pointer to a stackdriver_trace_span_t struct Note that you will have to call stackdriver_trace_span_free yourself when it ' s time to clean up the memory