mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 08:14:13 +00:00
add mod_lua
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8199 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
8027cb8ee8
commit
4eca13ac23
61 files changed
+17410
No files matched your search
@@ -0,0 +1,30 @@
|
||||
%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"
|
||||
#include "freeswitch_lua.h"
|
||||
%}
|
||||
|
||||
|
||||
%ignore SwitchToMempool;
|
||||
|
||||
/**
|
||||
* tell swig to grok everything defined in these header files and
|
||||
* build all sorts of c wrappers and lua shadows of the c wrappers.
|
||||
*/
|
||||
%include switch_cpp.h
|
||||
%include freeswitch_lua.h
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user