add the usual extern C silliness to pydtrace.h

This commit is contained in:
Benjamin Peterson 2016-09-10 17:34:15 -07:00
parent 699e2c91f6
commit 39e10616fb
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@
#ifndef Py_DTRACE_H
#define Py_DTRACE_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WITH_DTRACE
@ -44,4 +47,7 @@ inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) { return 0; }
#endif /* !WITH_DTRACE */
#ifdef __cplusplus
}
#endif
#endif /* !Py_DTRACE_H */