LCOV - code coverage report
Current view: | top level - Include/internal - pycore_structseq.h (source / functions) |  |  | Hit | Total | Coverage
Test: | CPython 3.12 LCOV report [commit 5e6661bce9] |  | Lines: | 2 | 2 | 100.0 %
Date: | 2023-03-20 08:15:36 |  | Functions: | 1 | 1 | 100.0 %
|  |  | Branches: | 0 | 0 | -

               Branch data     Line data    Source code
           1                 :            : #ifndef Py_INTERNAL_STRUCTSEQ_H
           2                 :            : #define Py_INTERNAL_STRUCTSEQ_H
           3                 :            : #ifdef __cplusplus
           4                 :            : extern "C" {
           5                 :            : #endif
           6                 :            :
           7                 :            : #ifndef Py_BUILD_CORE
           8                 :            : #  error "this header requires Py_BUILD_CORE define"
           9                 :            : #endif
          10                 :            :
          11                 :            :
          12                 :            : /* other API */
          13                 :            :
          14                 :            : PyAPI_FUNC(PyTypeObject *) _PyStructSequence_NewType(
          15                 :            :     PyStructSequence_Desc *desc,
          16                 :            :     unsigned long tp_flags);
          17                 :            :
          18                 :            : PyAPI_FUNC(int) _PyStructSequence_InitBuiltinWithFlags(
          19                 :            :     PyTypeObject *type,
          20                 :            :     PyStructSequence_Desc *desc,
          21                 :            :     unsigned long tp_flags);
          22                 :            :
          23                 :            : static inline int
          24                 :        174 : _PyStructSequence_InitBuiltin(PyTypeObject *type,
          25                 :            :                               PyStructSequence_Desc *desc)
          26                 :            : {
          27                 :        174 :     return _PyStructSequence_InitBuiltinWithFlags(type, desc, 0);
          28                 :            : }
          29                 :            :
          30                 :            : extern void _PyStructSequence_FiniType(PyTypeObject *type);
          31                 :            :
          32                 :            : #ifdef __cplusplus
          33                 :            : }
          34                 :            : #endif
          35                 :            : #endif /* !Py_INTERNAL_STRUCTSEQ_H */

Generated by: LCOV version 1.14