blob: 6236779e2a72a51f2c5138eaf7518e244f5a9e27 (
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
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
%module ob_python
%{
#include "config.h"
#include "python.hh"
%}
namespace ob {
%ignore MouseContext::NUM_MOUSE_CONTEXT;
%ignore MouseAction::NUM_MOUSE_ACTION;
%ignore KeyContext::NUM_KEY_CONTEXT;
%ignore KeyAction::NUM_KEY_ACTION;
%ignore EventAction::NUM_EVENT_ACTION;
%ignore python_init(char*);
%ignore python_destroy();
%ignore python_exec(const std::string&);
%ignore python_get_long(const char*, long*);
%ignore python_get_string(const char*, otk::ustring*);
%ignore python_get_stringlist(const char*, std::vector<otk::ustring>*);
}
%include "python.hh"
|