Annotation of embedaddon/php/ext/intl/formatter/formatter_data.h, revision 1.1.1.1

1.1       misho       1: /*
                      2:    +----------------------------------------------------------------------+
                      3:    | PHP Version 5                                                        |
                      4:    +----------------------------------------------------------------------+
                      5:    | This source file is subject to version 3.01 of the PHP license,      |
                      6:    | that is bundled with this package in the file LICENSE, and is        |
                      7:    | available through the world-wide-web at the following url:           |
                      8:    | http://www.php.net/license/3_01.txt                                  |
                      9:    | If you did not receive a copy of the PHP license and are unable to   |
                     10:    | obtain it through the world-wide-web, please send a note to          |
                     11:    | license@php.net so we can mail you a copy immediately.               |
                     12:    +----------------------------------------------------------------------+
                     13:    | Authors: Stanislav Malyshev <stas@zend.com>                          |
                     14:    +----------------------------------------------------------------------+
                     15:  */
                     16: 
                     17: #ifndef FORMATTER_DATA_H
                     18: #define FORMATTER_DATA_H
                     19: 
                     20: #include <php.h>
                     21: 
                     22: #include <unicode/unum.h>
                     23: 
                     24: #include "intl_error.h"
                     25: 
                     26: typedef struct {
                     27:        // error hangling
                     28:        intl_error      error;
                     29: 
                     30:        // formatter handling
                     31:        UNumberFormat*  unum;
                     32: } formatter_data;
                     33: 
                     34: formatter_data* formatter_data_create( TSRMLS_D );
                     35: void formatter_data_init( formatter_data* nf_data TSRMLS_DC );
                     36: void formatter_data_free( formatter_data* nf_data TSRMLS_DC );
                     37: 
                     38: #endif // FORMATTER_DATA_H

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>