mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-12-06 06:08:32 +00:00
swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3289 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
8b6be74043
commit
7872f795ea
4 files changed
+58
-30
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.29
|
||||
* Version 1.3.21
|
||||
*
|
||||
* This file is not intended to be easily readable and contains a number of
|
||||
* coding conventions designed to improve portability and efficiency. Do not make
|
||||
@@ -16,7 +16,7 @@ $FREESWITCH_LOADED__ = true;
|
||||
|
||||
/* if our extension has not been loaded, do what we can */
|
||||
if (!extension_loaded("php_freeswitch")) {
|
||||
if (!dl("php_freeswitch.so")) return;
|
||||
if (!dl("php_freeswitch.so")) return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.29
|
||||
* Version 1.3.21
|
||||
*
|
||||
* This file is not intended to be easily readable and contains a number of
|
||||
* coding conventions designed to improve portability and efficiency. Do not make
|
||||
@@ -40,10 +40,6 @@ extern zend_module_entry freeswitch_module_entry;
|
||||
# define PHP_FREESWITCH_API
|
||||
#endif
|
||||
|
||||
#ifdef ZTS
|
||||
#include "TSRM.h"
|
||||
#endif
|
||||
|
||||
PHP_MINIT_FUNCTION(freeswitch);
|
||||
PHP_MSHUTDOWN_FUNCTION(freeswitch);
|
||||
PHP_RINIT_FUNCTION(freeswitch);
|
||||
@@ -76,4 +72,24 @@ ZEND_NAMED_FUNCTION(_wrap_fs_switch_ivr_session_transfer);
|
||||
ZEND_NAMED_FUNCTION(_wrap_fs_switch_ivr_speak_text);
|
||||
ZEND_NAMED_FUNCTION(_wrap_fs_switch_channel_get_variable);
|
||||
ZEND_NAMED_FUNCTION(_wrap_fs_switch_channel_set_variable);
|
||||
/*If you declare any globals in php_freeswitch.h uncomment this:
|
||||
ZEND_BEGIN_MODULE_GLOBALS(freeswitch)
|
||||
ZEND_END_MODULE_GLOBALS(freeswitch)
|
||||
*/
|
||||
#ifdef ZTS
|
||||
#define FREESWITCH_D zend_freeswitch_globals *freeswitch_globals
|
||||
#define FREESWITCH_DC , FREESWITCH_D
|
||||
#define FREESWITCH_C freeswitch_globals
|
||||
#define FREESWITCH_CC , FREESWITCH_C
|
||||
#define FREESWITCH_SG(v) (freeswitch_globals->v)
|
||||
#define FREESWITCH_FETCH() zend_freeswitch_globals *freeswitch_globals = ts_resource(freeswitch_globals_id)
|
||||
#else
|
||||
#define FREESWITCH_D
|
||||
#define FREESWITCH_DC
|
||||
#define FREESWITCH_C
|
||||
#define FREESWITCH_CC
|
||||
#define FREESWITCH_SG(v) (freeswitch_globals.v)
|
||||
#define FREESWITCH_FETCH()
|
||||
#endif
|
||||
|
||||
#endif /* PHP_FREESWITCH_H */
|
||||
Reference in new issue
Block a user