Debian Codegraph @

Include/internal/pycore_template.h

raw
1 #ifndef Py_INTERNAL_TEMPLATE_H
2 #define Py_INTERNAL_TEMPLATE_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #ifndef Py_BUILD_CORE
9 # error "this header requires Py_BUILD_CORE define"
10 #endif
11
12 extern PyTypeObject _PyTemplate_Type;
13 extern PyTypeObject _PyTemplateIter_Type;
14
15 #define _PyTemplate_CheckExact(op) Py_IS_TYPE((op), &_PyTemplate_Type)
16 #define _PyTemplateIter_CheckExact(op) Py_IS_TYPE((op), &_PyTemplateIter_Type)
17
18 extern PyObject *_PyTemplate_Concat(PyObject *self, PyObject *other);
19
20 PyAPI_FUNC(PyObject *) _PyTemplate_Build(PyObject *strings, PyObject *interpolations);
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #endif