2008-05-12 13:37:36 +00:00
|
|
|
--- 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 @@
|
2008-05-01 22:56:14 +00:00
|
|
|
if ((items < 0) || (items > 0)) {
|
|
|
|
SWIG_croak("Usage: new_Session();");
|
|
|
|
}
|
2008-05-12 13:37:36 +00:00
|
|
|
- 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++ ;
|
2008-05-01 22:56:14 +00:00
|
|
|
XSRETURN(argvi);
|
|
|
|
fail:
|
2008-05-12 13:37:36 +00:00
|
|
|
@@ -6781,7 +6781,7 @@
|
2008-05-01 22:56:14 +00:00
|
|
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Session" "', argument " "1"" of type '" "char *""'");
|
|
|
|
}
|
|
|
|
arg1 = reinterpret_cast< char * >(buf1);
|
2008-05-12 13:37:36 +00:00
|
|
|
- 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++ ;
|
2008-05-01 22:56:14 +00:00
|
|
|
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
|
|
|
XSRETURN(argvi);
|
2008-05-12 13:37:36 +00:00
|
|
|
@@ -6809,7 +6809,7 @@
|
2008-05-01 22:56:14 +00:00
|
|
|
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);
|
2008-05-12 13:37:36 +00:00
|
|
|
- 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++ ;
|
2008-05-01 22:56:14 +00:00
|
|
|
|
|
|
|
XSRETURN(argvi);
|