1 /* This file is part of GCC.
3 GCC is free software; you can redistribute it and/or modify it under
4 the terms of the GNU General Public License as published by the Free
5 Software Foundation; either version 3, or (at your option) any later
8 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
9 WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 You should have received a copy of the GNU General Public License
14 along with GCC; see the file COPYING3. If not see
15 <http://www.gnu.org/licenses/>. */
17 #ifndef __PY_TYPES_H__
18 #define __PY_TYPES_H__
20 extern VEC(tree
,gc
) * gpy_builtin_types_vec
;
22 #define gpy_object_type_ptr VEC_index(tree,gpy_builtin_types_vec,0)
24 #define gpy_object_type_ptr_ptr VEC_index(tree,gpy_builtin_types_vec,1)
26 #define gpy_callable_type VEC_index(tree,gpy_builtin_types_vec,2)
28 #define gpy_callable_type_ptr VEC_index(tree,gpy_builtin_types_vec,3)
30 #define gpy_const_char_ptr VEC_index(tree,gpy_builtin_types_vec,4)
32 extern tree
gpy_init_callable_record (tree
, int, tree
);
34 extern void gpy_initilize_types (void);
36 #endif /* __PY_TYPES_H__ */