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
Next Next commit
Add the C++ guard.
  • Loading branch information
ericsnowcurrently committed Mar 1, 2019
commit b0b4ddb9d0b34d4cd43b7c7dbee5fb9967242fc7
8 changes: 8 additions & 0 deletions Include/cpython/interpreteridobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# error "this header file must not be included directly"
#endif

#ifdef __cplusplus
extern "C" {
#endif

/* Interpreter ID Object */
Comment thread
ericsnowcurrently marked this conversation as resolved.
Outdated

PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type;
Expand All @@ -11,3 +15,7 @@ PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *);
PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *);

PyAPI_FUNC(int64_t) _Py_CoerceID(PyObject *);

#ifdef __cplusplus
}
#endif