2003-02-17 15:42:31 +00:00
|
|
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
|
|
|
|
|
|
|
%module ob_python
|
|
|
|
|
|
|
|
%{
|
|
|
|
#include "config.h"
|
|
|
|
#include "python.hh"
|
|
|
|
%}
|
|
|
|
|
|
|
|
namespace ob {
|
|
|
|
|
2003-02-17 17:39:34 +00:00
|
|
|
%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;
|
|
|
|
|
2003-02-17 15:42:31 +00:00
|
|
|
%ignore python_init(char*);
|
|
|
|
%ignore python_destroy();
|
2003-02-19 19:28:11 +00:00
|
|
|
%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>*);
|
2003-02-17 15:42:31 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
%include "python.hh"
|