abies Fri Jun 11 22:49:47 2004 EDT Modified files: /php-src/ext/interbase ibase_query.c php_interbase.h Log: Added export macros http://cvs.php.net/diff.php/php-src/ext/interbase/ibase_query.c?r1=1.16&r2=1.17&ty=u Index: php-src/ext/interbase/ibase_query.c diff -u php-src/ext/interbase/ibase_query.c:1.16 php-src/ext/interbase/ibase_query.c:1.17 --- php-src/ext/interbase/ibase_query.c:1.16 Tue Jun 1 19:31:43 2004 +++ php-src/ext/interbase/ibase_query.c Fri Jun 11 22:49:47 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ibase_query.c,v 1.16 2004/06/01 23:31:43 abies Exp $ */ +/* $Id: ibase_query.c,v 1.17 2004/06/12 02:49:47 abies Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1279,7 +1279,7 @@ #endif /* }}} */ -static int _php_ibase_var_zval(zval *val, void *data, int type, int len, /* {{{ */ +FB_API int _php_ibase_var_zval(zval *val, void *data, int type, int len, /* {{{ */ int scale, int flag TSRMLS_DC) { static ISC_INT64 const scales[] = { 1, 10, 100, 1000, 10000, 100000, 1000000, 100000000, 1000000000, http://cvs.php.net/diff.php/php-src/ext/interbase/php_interbase.h?r1=1.68&r2=1.69&ty=u Index: php-src/ext/interbase/php_interbase.h diff -u php-src/ext/interbase/php_interbase.h:1.68 php-src/ext/interbase/php_interbase.h:1.69 --- php-src/ext/interbase/php_interbase.h:1.68 Wed May 12 10:29:42 2004 +++ php-src/ext/interbase/php_interbase.h Fri Jun 11 22:49:47 2004 @@ -18,11 +18,23 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_interbase.h,v 1.68 2004/05/12 14:29:42 abies Exp $ */ +/* $Id: php_interbase.h,v 1.69 2004/06/12 02:49:47 abies Exp $ */ #ifndef PHP_INTERBASE_H #define PHP_INTERBASE_H +#ifdef PHP_WIN32 +# ifdef INTERBASE_EXPORTS +# define FB_API __declspec(dllexport) +# elif defined(COMPILE_DL_INTERBASE) +# define FB_API __declspec(dllimport) +# else +# define FB_API /* nothing special */ +# endif +#else +# define INTERBASE_API /* nothing special */ +#endif + extern zend_module_entry ibase_module_entry; #define phpext_interbase_ptr &ibase_module_entry @@ -49,6 +61,7 @@ PHP_FUNCTION(ibase_timefmt); PHP_FUNCTION(ibase_gen_id); +PHP_FUNCTION(ibase_insert_id); PHP_FUNCTION(ibase_num_fields); PHP_FUNCTION(ibase_num_params); #if abies_0 @@ -92,6 +105,8 @@ PHP_FUNCTION(ibase_wait_event); PHP_FUNCTION(ibase_set_event_handler); PHP_FUNCTION(ibase_free_event_handler); + +FB_API int php_ibase_var_zval(zval *, void *, int, int, int, int TSRMLS_DC); #else
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php