Commit 1bd52d74 authored by Gregory P. Smith's avatar Gregory P. Smith

Make the _H #define's match the header file names. Fix comments to

mention the correct type names.
parent ac19d85e
/* Bytes object interface */ /* ByteArray object interface */
#ifndef Py_BYTESOBJECT_H #ifndef Py_BYTEARRAYOBJECT_H
#define Py_BYTESOBJECT_H #define Py_BYTEARRAYOBJECT_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
...@@ -50,4 +50,4 @@ PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t); ...@@ -50,4 +50,4 @@ PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* !Py_BYTESOBJECT_H */ #endif /* !Py_BYTEARRAYOBJECT_H */
/* String object interface */ /* Bytes (String) object interface */
#ifndef Py_STRINGOBJECT_H #ifndef Py_BYTESOBJECT_H
#define Py_STRINGOBJECT_H #define Py_BYTESOBJECT_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
...@@ -197,4 +197,4 @@ PyAPI_FUNC(PyObject *) _PyBytes_FormatAdvanced(PyObject *obj, ...@@ -197,4 +197,4 @@ PyAPI_FUNC(PyObject *) _PyBytes_FormatAdvanced(PyObject *obj,
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* !Py_STRINGOBJECT_H */ #endif /* !Py_BYTESOBJECT_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