bugfix: return values from playAndGetDigits stopped working

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5433 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Traun Leyden
2007-06-21 18:23:56 +00:00
parent 83b4c47348
commit 7dabe2488f
2 changed files with 44 additions and 21 deletions
+8 -3
View File
@@ -1,6 +1,14 @@
%module freeswitch
%include "cstring.i"
/**
* tell swig to treat these variables as mutable so they
* can be used to return values.
* See http://www.swig.org/Doc1.3/Library.html
*/
%cstring_bounded_mutable(char *dtmf_buf, 128);
%cstring_bounded_mutable(char *terminator, 8);
/** insert the following includes into generated code so it compiles */
%{
#include "switch_cpp.h"
@@ -14,8 +22,5 @@
%include switch_cpp.h
%include freeswitch_python.h
/** hmm .. dunno why this is here */
%cstring_bounded_mutable(char *dtmf_buf, 128);
%cstring_bounded_mutable(char *terminator, 8);