|
1 | 1 | #ifndef Py_LIMITED_API |
2 | | -#ifndef Py_ACCU_H |
3 | | -#define Py_ACCU_H |
| 2 | +#ifndef Py_INTERNAL_ACCU_H |
| 3 | +#define Py_INTERNAL_ACCU_H |
| 4 | +#ifdef __cplusplus |
| 5 | +extern "C" { |
| 6 | +#endif |
4 | 7 | |
5 | 8 | /*** This is a private API for use by the interpreter and the stdlib. |
6 | 9 | *** Its definition may be changed or removed at any moment. |
@@ -12,10 +15,6 @@
|
12 | 15 | * behaviour of using a naive repeated concatenation scheme. |
13 | 16 | */ |
14 | 17 | |
15 | | -#ifdef __cplusplus |
16 | | -extern "C" { |
17 | | -#endif |
18 | | - |
19 | 18 | #undef small /* defined by some Windows headers */ |
20 | 19 | |
21 | 20 | typedef struct { |
@@ -32,6 +31,5 @@ PyAPI_FUNC(void) _PyAccu_Destroy(_PyAccu *acc);
|
32 | 31 | #ifdef __cplusplus |
33 | 32 | } |
34 | 33 | #endif |
35 | | - |
36 | | -#endif /* Py_ACCU_H */ |
37 | | -#endif /* Py_LIMITED_API */ |
| 34 | +#endif /* !Py_INTERNAL_ACCU_H */ |
| 35 | +#endif /* !Py_LIMITED_API */ |