mirror of
https://github.com/python/cpython
synced 2024-09-16 01:31:10 +00:00
add the usual extern C silliness to pydtrace.h
This commit is contained in:
parent
699e2c91f6
commit
39e10616fb
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue