mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-24 18:41:57 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8358 d0543943-73ff-0310-b7d9-9358b9ac24b2
30 lines
1.5 KiB
Diff
30 lines
1.5 KiB
Diff
--- mod_perl_wrap2.cpp 2008-05-11 20:28:24.000000000 -0400
|
|
+++ mod_perl_wrap.cpp 2008-05-11 20:26:06.000000000 -0400
|
|
@@ -6754,7 +6754,7 @@
|
|
if ((items < 0) || (items > 0)) {
|
|
SWIG_croak("Usage: new_Session();");
|
|
}
|
|
- result = (PERL::Session *)new PERL::Session(); result->setPERL(my_perl);
|
|
+ result = (PERL::Session *)new PERL::Session();
|
|
ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PERL__Session, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
|
|
XSRETURN(argvi);
|
|
fail:
|
|
@@ -6781,7 +6781,7 @@
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Session" "', argument " "1"" of type '" "char *""'");
|
|
}
|
|
arg1 = reinterpret_cast< char * >(buf1);
|
|
- result = (PERL::Session *)new PERL::Session(arg1); result->setPERL(my_perl);
|
|
+ result = (PERL::Session *)new PERL::Session(arg1);
|
|
ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PERL__Session, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
|
|
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
|
XSRETURN(argvi);
|
|
@@ -6809,7 +6809,7 @@
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Session" "', argument " "1"" of type '" "switch_core_session_t *""'");
|
|
}
|
|
arg1 = reinterpret_cast< switch_core_session_t * >(argp1);
|
|
- result = (PERL::Session *)new PERL::Session(arg1); result->setPERL(my_perl);
|
|
+ result = (PERL::Session *)new PERL::Session(arg1);
|
|
ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PERL__Session, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
|
|
|
|
XSRETURN(argvi);
|