Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add #ifndef Py_LIMITED_API
  • Loading branch information
vstinner committed Apr 6, 2022
commit f8ec95b04478e4f3522569c35f157f08b62d69ad
4 changes: 3 additions & 1 deletion Include/cpython/code.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* Definitions for bytecode */

#ifndef Py_LIMITED_API
#ifndef Py_CODE_H
#define Py_CODE_H
#ifdef __cplusplus
Expand Down Expand Up @@ -212,4 +213,5 @@ PyAPI_FUNC(int) _PyCode_SetExtra(PyObject *code, Py_ssize_t index,
#ifdef __cplusplus
}
#endif
#endif /* !Py_CODE_H */
#endif // !Py_CODE_H
#endif // !Py_LIMITED_API