-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvisisc.i
More file actions
37 lines (22 loc) · 881 Bytes
/
visisc.i
File metadata and controls
37 lines (22 loc) · 881 Bytes
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
29
30
31
32
33
// Author: Tomas Olsson (tol@sics.se)
// License: BSD 3 clause
%module visisc
%{
#define SWIG_FILE_WITH_INIT
/* Includes the header in the wrapper code */
#include "src/EventDataModel.hh"
%}
%include <typemaps.i>
%apply int &OUTPUT {int& maxsev, int& maxcount, int& maxind}
%apply double &OUTPUT {double& maxdev, double& maxexp}
%apply int &OUTPUT {int& selind}
%apply pyisc::_EventHierEle** &OUTPUT {pyisc::_EventHierEle**& eles}
%include "src/EventDataModel.hh"
%pythoncode %{
from _visisc_modules.EventHierarchy import *
from _visisc_modules.EventDataObject import EventDataObject
from _visisc_modules.EventDataModel import EventDataModel
from _visisc_modules.EventVisualization import EventVisualization
from _visisc_modules.EventSelectionQuery import EventSelectionQuery
from _visisc_modules.EventSelectionDialog import EventSelectionDialog
%}