Debian Codegraph @

mypyc/lib-rt/static_data.h

raw
1 #ifndef STATIC_DATA_H
2 #define STATIC_DATA_H
3
4 #include <Python.h>
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 // Adopted from numpy 2.4.0: numpy/_core/src/multiarry/npy_static_data.h
11
12 int intern_strings(void);
13
14 typedef struct mypyc_interned_str_struct {
15 PyObject *__init_subclass__;
16 PyObject *__module__;
17 PyObject *__mro_entries__;
18 PyObject *__mypyc_attrs__;
19 PyObject *__orig_bases__;
20 PyObject *__qualname__;
21 PyObject *__slots__;
22 PyObject *__name__;
23 PyObject *__radd__;
24 PyObject *__rsub__;
25 PyObject *__rmul__;
26 PyObject *__rtruediv__;
27 PyObject *__rmod__;
28 PyObject *__rdivmod__;
29 PyObject *__rfloordiv__;
30 PyObject *__rpow__;
31 PyObject *__rmatmul__;
32 PyObject *__rand__;
33 PyObject *__ror__;
34 PyObject *__rxor__;
35 PyObject *__rlshift__;
36 PyObject *__rrshift__;
37 PyObject *__eq__;
38 PyObject *__ne__;
39 PyObject *__gt__;
40 PyObject *__le__;
41 PyObject *__lt__;
42 PyObject *__ge__;
43 PyObject *clear;
44 PyObject *close_;
45 PyObject *copy;
46 PyObject *dispatch_cache;
47 PyObject *endswith;
48 PyObject *get_type_hints;
49 PyObject *keys;
50 PyObject *lower;
51 PyObject *items;
52 PyObject *join;
53 PyObject *register_;
54 PyObject *registry;
55 PyObject *send;
56 PyObject *setdefault;
57 PyObject *startswith;
58 PyObject *super;
59 PyObject *throw_;
60 PyObject *translate;
61 PyObject *update;
62 PyObject *upper;
63 PyObject *values;
64 } mypyc_interned_str_struct;
65
66 extern mypyc_interned_str_struct mypyc_interned_str;
67
68 #ifdef __cplusplus
69 }
70 #endif
71
72 #endif