diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-09-10 17:34:15 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-09-10 17:34:15 -0700 |
| commit | 39e10616fbbb84e4ffbd24d1206dae030c06fa65 (patch) | |
| tree | 46f001ed83a0b512f35470e3d478dfbf0ab197dd | |
| parent | 699e2c91f61bdacec177a050f930e7dbd7cdb371 (diff) | |
| download | cpython-git-39e10616fbbb84e4ffbd24d1206dae030c06fa65.tar.gz | |
add the usual extern C silliness to pydtrace.h
| -rw-r--r-- | Include/pydtrace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/pydtrace.h b/Include/pydtrace.h index 4888606141..140d2e1dd3 100644 --- a/Include/pydtrace.h +++ b/Include/pydtrace.h @@ -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 */ |
