all repos — openbox @ 1dac42d9ed074bcd44f9d1016b0971ae473cc2eb

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
// -*- 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 &);

}

%include "python.hh"