all repos — openbox @ 515f8d8760f614b127b4435dca7881a32b5b6207

openbox fork - make it a bit more like ryudo

wrap/ob_python.i (raw)

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"