change api to return event on filter command

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12488 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-03-06 19:24:10 +00:00
parent 734b2d3b82
commit f3acb35505
9 changed files with 40 additions and 20 deletions

View File

@@ -2120,7 +2120,7 @@ ZEND_NAMED_FUNCTION(_wrap_ESLconnection_filter) {
ESLconnection *arg1 = (ESLconnection *) 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int result;
ESLevent *result = 0 ;
zval **args[3];
SWIG_ResetError();
@@ -2146,9 +2146,9 @@ ZEND_NAMED_FUNCTION(_wrap_ESLconnection_filter) {
arg3 = (char *) Z_STRVAL_PP(args[2]);
/*@SWIG@*/;
result = (int)(arg1)->filter((char const *)arg2,(char const *)arg3);
result = (ESLevent *)(arg1)->filter((char const *)arg2,(char const *)arg3);
{
ZVAL_LONG(return_value,result);
SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_ESLevent, 0);
}
return;
fail: