Kaydet (Commit) 39e10616 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

add the usual extern C silliness to pydtrace.h

üst 699e2c91
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
#ifndef Py_DTRACE_H #ifndef Py_DTRACE_H
#define Py_DTRACE_H #define Py_DTRACE_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WITH_DTRACE #ifdef WITH_DTRACE
...@@ -44,4 +47,7 @@ inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) { return 0; } ...@@ -44,4 +47,7 @@ inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) { return 0; }
#endif /* !WITH_DTRACE */ #endif /* !WITH_DTRACE */
#ifdef __cplusplus
}
#endif
#endif /* !Py_DTRACE_H */ #endif /* !Py_DTRACE_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment