Annotation of embedaddon/php/ext/intl/msgformat/msgformat_class.h, revision 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 MSG_FORMAT_CLASS_H
! 18: #define MSG_FORMAT_CLASS_H
! 19:
! 20: #include <php.h>
! 21:
! 22: #include "intl_common.h"
! 23: #include "intl_error.h"
! 24: #include "intl_data.h"
! 25: #include "msgformat_data.h"
! 26:
! 27: typedef struct {
! 28: zend_object zo;
! 29: msgformat_data mf_data;
! 30: } MessageFormatter_object;
! 31:
! 32: void msgformat_register_class( TSRMLS_D );
! 33: extern zend_class_entry *MessageFormatter_ce_ptr;
! 34:
! 35: /* Auxiliary macros */
! 36:
! 37: #define MSG_FORMAT_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(MessageFormatter, mfo)
! 38: #define MSG_FORMAT_METHOD_FETCH_OBJECT INTL_METHOD_FETCH_OBJECT(MessageFormatter, mfo)
! 39: #define MSG_FORMAT_OBJECT(mfo) (mfo)->mf_data.umsgf
! 40:
! 41: #endif // #ifndef MSG_FORMAT_CLASS_H
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>