blob: 5c6f065cd827b448a0f51f74d363515b98fab597 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
%module(directors="1", allprotected="1") uscxmlNativePHP
// import swig typemaps
//%include <arrays_java.i>
//%include <inttypes.i>
//%include <boost_shared_ptr.i>
%include <std_string.i>
// disable warning related to unknown base class
#pragma SWIG nowarn=401
//%ignore boost::enable_shared_from_this;
//%javaconst(1);
# %shared_ptr(uscxml::dom::Element);
# %shared_ptr(uscxml::dom::Executable);
//**************************************************
// This ends up in the generated wrapper code
//**************************************************
%{
#include "../../../uscxml/Message.h"
#include "../../../uscxml/Interpreter.h"
using namespace uscxml;
%}
//%rename(toString) operator<<;
//***********************************************
// Parse the header file to generate wrappers
//***********************************************
%include "../../../uscxml/Message.h"
%include "../../../uscxml/Interpreter.h"
|