perl 5.0 alpha 4
[perl.git] / ext / typemap
1 # $Header$ 
2 # basic C types
3 int                     T_INT
4 unsigned                T_U_INT
5 unsigned int            T_U_INT
6 long                    T_LONG
7 unsigned long           T_U_LONG
8 short                   T_SHORT
9 unsigned short          T_U_SHORT
10 char                    T_CHAR
11 char *                  T_STRING
12 unsigned char *         T_STRING
13 caddr_t                 T_STRING
14 unsigned long *         T_OPAQUEPTR
15 char **                 T_PACKED
16 void *                  T_PTR
17
18 I32                     T_LONG
19 I16                     T_SHORT
20 U32                     T_U_LONG
21 U16                     T_U_SHORT
22 Result                  T_U_CHAR
23 Boolean                 T_U_CHAR
24 double                  T_DOUBLE
25
26 #
27 #################################### XLIB SECTION
28 #
29
30 # basic X types
31 Atom                    T_U_LONG
32 Atom *                  T_OPAQUEPTR
33 Bool                    T_INT
34 KeyCode                 T_U_LONG
35 Status                  T_INT
36 Time                    T_U_LONG
37 VisualID                T_U_LONG
38 XID                     T_U_LONG
39 GC                      T_PTR
40 Display *               T_PTR
41 Screen *                T_PTR
42 Visual *                T_PTR
43 XImage *                T_PTR
44 Region                  T_PTR
45
46 # things that are XIDs
47 Colormap                T_U_LONG
48 Cursor                  T_U_LONG
49 Drawable                T_U_LONG
50 Font                    T_U_LONG
51 GContext                T_U_LONG
52 KeySym                  T_U_LONG
53 KeySym *                T_OPAQUEPTR
54 Pixmap                  T_U_LONG
55 Pixmap *                T_OPAQUEPTR
56 Window                  T_U_LONG
57 Window *                T_OPAQUEPTR
58
59 # X resource manager types
60 XrmDatabase             T_PTR
61 XrmQuark                T_INT
62 XrmQuarkList            T_OPAQUEPTR
63 XrmName                 T_INT
64 XrmNameList             T_OPAQUEPTR
65 XrmClass                T_INT
66 XrmClassList            T_OPAQUEPTR
67 XrmRepresentation       T_INT
68 XrmString               T_STRING
69 XrmBinding              T_ENUM
70 XrmBindingList          T_OPAQUEPTR
71 XrmOptionKind           T_ENUM
72 XrmSearchList           T_OPAQUEPTR
73
74 # context manager types
75 XContext                T_INT
76
77 # Xlib data structures
78 XArc *                  T_OPAQUEPTR
79 XCharStruct             T_OPAQUE
80 XCharStruct *           T_OPAQUEPTR
81 XColor                  T_OPAQUE
82 XColor *                T_OPAQUEPTR
83 XComposeStatus *        T_OPAQUEPTR
84 XEvent                  T_OPAQUE
85 XEvent *                T_OPAQUEPTR
86 XFontStruct             T_OPAQUE
87 XFontStruct *           T_PTR
88 XGCValues *             T_OPAQUEPTR
89 XIconSize *             T_OPAQUEPTR
90 XKeyboardControl *      T_OPAQUEPTR
91 XKeyboardState          T_OPAQUE
92 XModifierKeymap *       T_PTR
93 XPoint                  T_OPAQUE
94 XPoint *                T_OPAQUEPTR
95 XRectangle              T_OPAQUE
96 XRectangle *            T_OPAQUEPTR
97 XSegment *              T_OPAQUEPTR
98 XSetWindowAttributes *  T_OPAQUEPTR
99 XSizeHints              T_OPAQUE
100 XSizeHints *            T_OPAQUEPTR
101 XStandardColormap       T_OPAQUE
102 XStandardColormap *     T_OPAQUEPTR
103 XTimeCoord *            T_OPAQUEPTR
104 XVisualInfo             T_OPAQUE
105 XVisualInfo *           T_OPAQUEPTR
106 XWindowAttributes       T_OPAQUE
107 XWindowAttributes *     T_OPAQUEPTR
108 XWindowChanges *        T_OPAQUEPTR
109 XWMHints *              T_OPAQUEPTR
110
111 # these data types must be handled specially
112 #XrmValue               T_OPAQUE
113 #XrmValue *             T_OPAQUEPTR
114 #XrmOptionDescList      T_OPAQUEPTR
115 #XClassHint             T_OPAQUE
116 #XClassHint *           T_OPAQUEPTR
117 #XHostAddress *         T_OPAQUEPTR
118 #XTextItem *            T_OPAQUEPTR
119 #XTextItem16 *          T_OPAQUEPTR
120 #XTextProperty          T_OPAQUE
121 #XTextProperty *        T_OPAQUEPTR
122
123 #
124 #################################### PARCPLACE OI SECTION
125 #
126
127 # basic OI types
128 OI_alignment            T_ENUM
129 OI_bevel_style          T_ENUM
130 OI_bool                 T_ENUM
131 OI_charset              T_ENUM
132 OI_char_encode_type     T_ENUM
133 OI_configure_mask       T_ENUM
134 OI_drop_type            T_ENUM
135 OI_ef_char_chk_status   T_ENUM
136 OI_ef_entry_chk_status  T_ENUM
137 OI_ef_mode              T_ENUM
138 OI_enhance              T_ENUM
139 OI_gravity              T_ENUM
140 OI_gauge_ends           T_ENUM
141 OI_gauge_ticks          T_ENUM
142 OI_layout               T_INT
143 OI_menu_cell_type       T_ENUM
144 OI_mnemonic_style       T_ENUM
145 OI_model_type           T_ENUM
146 OI_mt_char_chk_status   T_ENUM
147 OI_mt_entry_chk_status  T_ENUM
148 OI_mt_mode              T_ENUM
149 OI_number               T_SHORT
150 OI_number *             T_OPAQUEPTR
151 OI_orient               T_ENUM
152 OI_pic_type             T_ENUM
153 OI_pic_pixel            T_ENUM
154 OI_psn_type             T_ENUM
155 OI_rm_db                T_ENUM
156 OI_sav_rst_typ          T_ENUM
157 OI_scroll_event         T_ENUM
158 OI_size_track           T_ENUM
159 OI_slider_current       T_ENUM
160 OI_slider_ends          T_ENUM
161 OI_slider_ticks         T_ENUM
162 OI_stat                 T_ENUM
163 OI_state                T_ENUM
164 OI_wm_state             T_ENUM
165 PIXEL                   T_LONG
166
167 # OI classes
168 OI_abbr_menu *          T_PTR
169 OI_animate_item *       T_PTR
170 OI_app_window *         T_PTR
171 OI_base_text *          T_PTR
172 OI_box *                T_PTR
173 OI_button_menu *        T_PTR
174 OI_command_dialog_box * T_PTR
175 OI_excl_menu *          T_PTR
176 OI_excl_check_menu *    T_PTR
177 OI_excl_rect_menu *     T_PTR
178 OI_basic_menu *         T_PTR
179 OI_class *              T_PTR
180 OI_connection *         T_PTR
181 OI_ctlr_1d *            T_PTR
182 OI_d_tech *             T_PTR
183 OI_d_tech **            T_OPAQUEPTR
184 OI_dialog_box *         T_PTR
185 OI_display_1d *         T_PTR
186 OI_entry_field *        T_PTR
187 OI_error_dialog_box *   T_PTR
188 OI_excl_menu *          T_PTR
189 OI_file_dialog_box *    T_PTR
190 OI_gauge *              T_PTR
191 OI_glyph *              T_PTR
192 OI_help *               T_PTR
193 OI_info_dialog_box *    T_PTR
194 OI_menu *               T_PTR
195 OI_menu_cell *          T_PTR
196 OI_menu_cell **         T_OPAQUEPTR
197 OI_menu_spec *          T_PACKED
198 OI_message_dialog_box * T_PTR
199 OI_ms_dialog_box *      T_PTR
200 OI_multi_text *         T_PTR
201 OI_panner *             T_PTR
202 OI_pic_spec_mask *      T_PTR
203 OI_pic_spec_mask **     T_OPAQUEPTR
204 OI_poly_menu *          T_PTR
205 OI_poly_check_menu *    T_PTR
206 OI_poly_rect_menu *     T_PTR
207 OI_prompt_dialog_box *  T_PTR
208 OI_question_dialog_box *        T_PTR
209 OI_scroll_bar *         T_PTR
210 OI_scroll_box *         T_PTR
211 OI_scroll_menu *        T_PTR
212 OI_scroll_text *        T_PTR
213 OI_select_dialog_box *  T_PTR
214 OI_separator *          T_PTR
215 OI_seq_entry_field *    T_PTR
216 OI_slider *             T_PTR
217 OI_static_text *        T_PTR
218 OI_translation_table *  T_PTR
219 OI_warn_dialog_box *    T_PTR
220 OI_work_dialog_box *    T_PTR
221
222 #
223 #################################### XPM SECTION
224 #
225 XpmAttributes *         T_PACKED
226 XpmColorSymbol *        T_PACKED
227 XpmExtension *          T_PACKED
228
229 #
230 #################################### DBM SECTION
231 #
232
233 datum                   T_DATUM
234 gdatum                  T_GDATUM
235 NDBM_File               T_PTROBJ
236 GDBM_File               T_PTROBJ
237 SDBM_File               T_PTROBJ
238 ODBM_File               T_PTROBJ
239 DB_File                 T_PTROBJ
240 DBZ_File                T_PTROBJ
241 FATALFUNC               T_OPAQUEPTR