aboutsummaryrefslogblamecommitdiffstats
path: root/bindings/swig/swposition.i
blob: 4f1c35a87fd6c8f02ac374bd139db1ed209bf002 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                      
%{
 #include "swkey.h"
%}

class SW_POSITION {
public:
  SW_POSITION(char ipos);
};

%define POS_TOP ((char)1)
%define POS_BOTTOM ((char)2)

%define TOP SW_POSITION(POS_TOP)
%define BOTTOM SW_POSITION(POS_BOTTOM)