aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/pep384impl.cpp
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2018-07-25 14:36:26 +0200
committerChristian Tismer <tismer@stackless.com>2018-08-06 21:20:40 +0000
commitb45d97ae4902fbae26f66e33526f868f32a503ce (patch)
tree8d2b0a53633d3240e5c1a320b844ac2427c09b55 /sources/shiboken2/libshiboken/pep384impl.cpp
parent83b42ca06c834ad07985397764ebe2d7a58234ce (diff)
Fix Some Minor Limited API Omissions And Quirks
Some formatting was not ok, some ordering of methods was not perfect, some code vanished, bufferprocs had a bad filename, and descrobject.h did not need a patch, anymore since things were solved in signature.cpp . Task-number: PYSIDE-560 Change-Id: Ibd1bedf0763ebb3fbbfd33a8e7cff4b5af6fab5e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken2/libshiboken/pep384impl.cpp')
-rw-r--r--sources/shiboken2/libshiboken/pep384impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken2/libshiboken/pep384impl.cpp b/sources/shiboken2/libshiboken/pep384impl.cpp
index b648330d8..e1dd7518f 100644
--- a/sources/shiboken2/libshiboken/pep384impl.cpp
+++ b/sources/shiboken2/libshiboken/pep384impl.cpp
@@ -341,7 +341,7 @@ extern "C"
*/
/*
- * Here is the verification code for PepTypeObject.
+ * Here is the verification code for PyTypeObject.
* We create a type object and check if its fields
* appear at the right offsets.
*/
@@ -402,7 +402,7 @@ static PyType_Spec typeprobe_spec = {
};
static void
-check_PepTypeObject_valid(void)
+check_PyTypeObject_valid(void)
{
PyObject *obtype = reinterpret_cast<PyObject *>(&PyType_Type);
PyTypeObject *probe_tp_base = reinterpret_cast<PyTypeObject *>(
@@ -827,7 +827,7 @@ PepType_GetNameStr(PyTypeObject *type)
void
Pep384_Init()
{
- check_PepTypeObject_valid();
+ check_PyTypeObject_valid();
#ifdef Py_LIMITED_API
Pep_GetVerboseFlag();
PepMethod_TypePtr = getMethodType();