File: wx_typemap.xsp

package info (click to toggle)
libwx-scintilla-perl 0.39-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,060 kB
  • sloc: cpp: 64,843; perl: 5,279; makefile: 9
file content (192 lines) | stat: -rw-r--r-- 5,275 bytes parent folder | download | duplicates (4)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
#############################################################################
## Name:        typemap.xsp
## Purpose:     Main typemap file for xsubppp.pl
## Author:      Mattia Barbon
## Modified by:
## Created:     01/03/2003
## RCS-ID:      $Id: typemap.xsp 2927 2010-06-06 08:06:10Z mbarbon $
## Copyright:   (c) 2003-2010 Mattia Barbon
## Licence:     This program is free software; you can redistribute it and/or
##              modify it under the same terms as Perl itself
#############################################################################

%typemap{void}{simple};
%typemap{bool}{simple};
%typemap{char}{simple};
%typemap{short}{simple};
%typemap{int}{simple};
%typemap{long}{simple};
%typemap{unsigned short}{simple};
%typemap{unsigned}{simple};
%typemap{unsigned int}{simple};
%typemap{unsigned long}{simple};
%typemap{float}{simple};
%typemap{double}{simple};
%typemap{wxChar}{simple};
%typemap{SV*}{simple};
%typemap{wxDouble}{simple};

%typemap{size_t}{simple};
%typemap{time_t}{simple};

%typemap{wxUint32}{simple};
%typemap{wxByte}{simple};

%typemap{wxArrayString}{simple};
%typemap{wxArrayInt}{parsed}{
  %output_list{%
    PUTBACK;
    wxPli_intarray_push( aTHX_ RETVAL );
    SPAGAIN;
  %};
};
%typemap{const wxArrayString&}{parsed}{
  %cpp_type{%wxArrayString%};
  %output_list{%
    PUTBACK;
    wxPli_stringarray_push( aTHX_ RETVAL );
    SPAGAIN;
  %};
};
%typemap{const wxArrayInt&}{parsed}{
  %cpp_type{%wxArrayInt%};
  %output_list{%
    PUTBACK;
    wxPli_intarray_push( aTHX_ RETVAL );
    SPAGAIN;
  %};
};
%typemap{wxArrayInt&}{parsed}{%wxArrayInt%};

%typemap{wxWindowID}{simple};
%typemap{wxCoord}{simple};
%typemap{wxEventType}{simple};

%typemap{const wxChar*}{simple};
%typemap{PlClassName}{simple};
%typemap{wxPliUserDataCD*}{simple};
%typemap{wxPliUserDataCD**}{simple};

%typemap{wxString}{simple};
%typemap{wxString&}{parsed}{
    %cpp_type{%wxString%};
};
%typemap{const wxString&}{parsed}{
    %cpp_type{%wxString%};
};
%typemap{const wxRect&}{reference};
%typemap{const wxSize&}{parsed}{
    %cpp_type{%wxSize%};
};
%typemap{const wxPoint&}{parsed}{
    %cpp_type{%wxPoint%};
};
%typemap{const wxPosition&}{parsed}{
    %cpp_type{%wxPosition%};
};
%typemap{wxSize}{parsed}{
    %cpp_type{%wxSize%};
};
%typemap{wxPoint}{parsed}{
    %cpp_type{%wxPoint%};
};
%typemap{wxPoint*}{simple};
%typemap{wxPosition}{parsed}{
    %cpp_type{%wxPosition%};
};
%typemap{wxPosition*}{simple};

%typemap{const wxArtID&}{parsed}{
    %cpp_type{%wxString%};
};
%typemap{const wxArtClient&}{parsed}{
    %cpp_type{%wxString%};
};
%typemap{wxArtProvider*}{simple};
%typemap{wxArtProvider&}{reference};
%typemap{wxBitmap}{reference};
%typemap{const wxBitmap&}{reference};
%typemap{wxCursor}{reference};
%typemap{const wxCursor&}{reference};
%typemap{wxIcon}{reference};
%typemap{wxFont}{reference};
%typemap{wxFont*}{simple};
%typemap{wxAnimation*}{simple};
%typemap{wxAnimation&}{reference};
%typemap{const wxAnimation&}{reference};
%typemap{wxAnimationType}{simple};

%typemap{wxDC*}{simple};
%typemap{wxDC&}{reference};
%typemap{const wxDC&}{reference};
%typemap{wxWindowDC*}{simple};
%typemap{wxWindowDC&}{reference};
%typemap{const wxWindowDC&}{reference};
%typemap{wxMemoryDC*}{simple};
%typemap{wxMemoryDC&}{reference};
%typemap{const wxMemoryDC&}{reference};
%typemap{wxPrinterDC*}{simple};
%typemap{wxPrinterDC&}{reference};
%typemap{const wxPrinterDC&}{reference};
%typemap{const wxValidator&}{reference};

%typemap{const wxPen&}{reference};
%typemap{const wxBrush&}{reference};
%typemap{const wxFont&}{reference};

%typemap{wxDateTime*}{simple};
%typemap{wxDateTime&}{reference};
%typemap{const wxDateTime&}{reference};
%typemap{wxDateSpan*}{simple};
%typemap{wxDateSpan&}{reference};
%typemap{const wxDateSpan&}{reference};
%typemap{wxTimeSpan*}{simple};
%typemap{wxTimeSpan&}{reference};
%typemap{const wxTimeSpan&}{reference};

%typemap{wxObject*}{simple};
%typemap{wxEvtHandler*}{simple};
%typemap{wxSplitterWindow*}{simple};
%typemap{wxSplitterEvent*}{simple};
%typemap{wxWindow*}{simple};
%typemap{wxListView*}{simple};
%typemap{wxSizer*}{simple};
%typemap{wxIconBundle*}{simple};
%typemap{wxFrame*}{simple};
%typemap{wxDialog*}{simple};
%typemap{wxChoice*}{simple};
%typemap{wxTreeCtrl*}{simple};
%typemap{wxToolBarBase*}{simple};
%typemap{wxToolBar*}{simple};
%typemap{wxTextCtrl*}{simple};
%typemap{wxControl*}{simple};
%typemap{wxMenu*}{simple};

%typemap{wxKeyEvent&}{reference};

%typemap{wxColour}{reference};
%typemap{const wxColour&}{reference};
%typemap{const wxIcon&}{reference};
%typemap{const wxIconBundle&}{reference};
%typemap{const wxFont&}{reference};
%typemap{const wxRegion&}{reference};

%typemap{wxImageList*}{simple};
%typemap{wxImage*}{simple};
%typemap{wxImage&}{reference};

%typemap{wxPliInputStream}{simple};
%typemap{wxPliOutputStream}{simple};

%typemap{wxGraphicsContext*}{simple};
%typemap{wxGraphicsContext&}{reference};
%typemap{const wxGraphicsContext&}{reference};
%typemap{const wxGraphicsPath&}{reference};
%typemap{const wxGraphicsMatrix&}{reference};
%typemap{const wxGraphicsPen&}{reference};
%typemap{const wxGraphicsBrush&}{reference};
%typemap{const wxGraphicsFont&}{reference};

%typemap{wxVariant*}{simple};
%typemap{wxVariant&}{reference};
%typemap{const wxVariant&}{reference};