From aef1c680bc2bbe26d308dd2da710cf649c688532 Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 16 Sep 2002 15:31:32 +0000 Subject: - Require Fribidi 0.10.4 -> no more glib needed. - Cleaned up a bit. --- ext/fribidi/php_fribidi.h | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'ext/fribidi/php_fribidi.h') diff --git a/ext/fribidi/php_fribidi.h b/ext/fribidi/php_fribidi.h index 757a1d6d68..7e602bbf46 100644 --- a/ext/fribidi/php_fribidi.h +++ b/ext/fribidi/php_fribidi.h @@ -21,22 +21,11 @@ #if HAVE_FRIBIDI -#include "fribidi.h" -#include "../standard/info.h" -#include +#include extern zend_module_entry fribidi_module_entry; #define phpext_fribidi_ptr &fribidi_module_entry - -typedef struct _php_fribidi_rsrc{ - guint16 *position_L_to_V_list; - guint16 *position_V_to_L_list; - guint8 *embedding_level_list; - guchar *out_string; -} php_fribidi_rsrc; - - #ifdef PHP_WIN32 #define PHP_FRIBIDI_API __declspec(dllexport) #else @@ -50,22 +39,6 @@ PHP_RSHUTDOWN_FUNCTION(fribidi); PHP_MINFO_FUNCTION(fribidi); PHP_FUNCTION(fribidi_log2vis); -/*void php_fribidi_free_rsrc(php_fribidi_rsrc* p_rsrc);*/ -/* - Declare any global variables you may need between the BEGIN - and END macros here: - -ZEND_BEGIN_MODULE_GLOBALS(fribidi) - int global_variable; -ZEND_END_MODULE_GLOBALS(fribidi) -*/ - -/* In every function that needs to use variables in php_fribidi_globals, - do call FRIBIDILS_FETCH(); after declaring other variables used by - that function, and always refer to them as FRIBIDIG(variable). - You are encouraged to rename these macros something shorter, see - examples in any other php module directory. -*/ #ifdef ZTS #define FRIBIDIG(v) TSRMG(fribidi_globals_id, php_fribidi_globals *, v) @@ -81,7 +54,6 @@ ZEND_END_MODULE_GLOBALS(fribidi) #endif /* PHP_FRIBIDI_H */ - /* * Local variables: * tab-width: 4 -- cgit v1.2.1