Back to index

php5  5.3.10
Functions
formatter_data.c File Reference
#include "formatter_data.h"

Go to the source code of this file.

Functions

void formatter_data_init (formatter_data *nf_data TSRMLS_DC)
void formatter_data_free (formatter_data *nf_data TSRMLS_DC)
formatter_dataformatter_data_create (TSRMLS_D)

Function Documentation

Definition at line 55 of file formatter_data.c.

{
       formatter_data* nf_data = ecalloc( 1, sizeof(formatter_data) );

       formatter_data_init( nf_data TSRMLS_CC );

       return nf_data;
}

Here is the call graph for this function:

void formatter_data_free ( formatter_data *nf_data  TSRMLS_DC)

Definition at line 39 of file formatter_data.c.

{
       if( !nf_data )
              return;

       if( nf_data->unum )
              unum_close( nf_data->unum );

       nf_data->unum = NULL;
       intl_error_reset( &nf_data->error TSRMLS_CC );
}

Here is the call graph for this function:

Here is the caller graph for this function:

void formatter_data_init ( formatter_data *nf_data  TSRMLS_DC)

Definition at line 26 of file formatter_data.c.

{
       if( !nf_data )
              return;

       nf_data->unum                = NULL;
       intl_error_reset( &nf_data->error TSRMLS_CC );
}

Here is the call graph for this function:

Here is the caller graph for this function: