php-src/ext/fribidi/php_fribidi.h

65 lines
1.9 KiB
C
Raw Normal View History

2000-11-13 16:01:05 +00:00
/*
+----------------------------------------------------------------------+
2001-12-11 15:32:16 +00:00
| PHP Version 4 |
2000-11-13 16:01:05 +00:00
+----------------------------------------------------------------------+
2001-12-11 15:32:16 +00:00
| Copyright (c) 1997-2002 The PHP Group |
2000-11-13 16:01:05 +00:00
+----------------------------------------------------------------------+
| This source file is subject to version 2.02 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://www.php.net/license/2_02.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
2002-08-15 21:43:41 +00:00
| Author: Onn Ben-Zvi <onn@zend.com>, onnb@mercury.co.il |
2000-11-13 16:01:05 +00:00
+----------------------------------------------------------------------+
*/
#ifndef PHP_FRIBIDI_H
#define PHP_FRIBIDI_H
#if HAVE_FRIBIDI
#include <fribidi/fribidi.h>
2000-11-13 16:01:05 +00:00
extern zend_module_entry fribidi_module_entry;
#define phpext_fribidi_ptr &fribidi_module_entry
#ifdef PHP_WIN32
#define PHP_FRIBIDI_API __declspec(dllexport)
#else
#define PHP_FRIBIDI_API
#endif
PHP_MINIT_FUNCTION(fribidi);
PHP_MSHUTDOWN_FUNCTION(fribidi);
PHP_RINIT_FUNCTION(fribidi);
PHP_RSHUTDOWN_FUNCTION(fribidi);
PHP_MINFO_FUNCTION(fribidi);
2002-09-09 09:44:52 +00:00
PHP_FUNCTION(fribidi_log2vis);
PHP_FUNCTION(fribidi_charset_info);
PHP_FUNCTION(fribidi_get_charsets);
2000-11-13 16:01:05 +00:00
#ifdef ZTS
#define FRIBIDIG(v) TSRMG(fribidi_globals_id, php_fribidi_globals *, v)
2000-11-13 16:01:05 +00:00
#else
#define FRIBIDIG(v) (fribidi_globals.v)
#endif
#else
#define phpext_fribidi_ptr NULL
#endif
#endif /* PHP_FRIBIDI_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
*/