]> Dogcows Code - chaz/openbox/blob - wrap/ob_python.i
time to refactor shit hard
[chaz/openbox] / wrap / ob_python.i
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2
3 %module ob_python
4
5 %{
6 #include "config.h"
7 #include "python.hh"
8 %}
9
10 namespace ob {
11
12 %ignore MouseContext::NUM_MOUSE_CONTEXT;
13 %ignore MouseAction::NUM_MOUSE_ACTION;
14 %ignore KeyContext::NUM_KEY_CONTEXT;
15 %ignore KeyAction::NUM_KEY_ACTION;
16 %ignore EventAction::NUM_EVENT_ACTION;
17
18 %ignore python_init(char*);
19 %ignore python_destroy();
20 %ignore python_exec(const std::string&);
21
22 %ignore python_get_long(const char*, long*);
23 %ignore python_get_string(const char*, otk::ustring*);
24 %ignore python_get_stringlist(const char*, std::vector<otk::ustring>*);
25
26 }
27
28 %include "python.hh"
This page took 0.032478 seconds and 4 git commands to generate.