mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
adjust declaration
This commit is contained in:
parent
1334884ff2
commit
e28108cbd7
1 changed files with 2 additions and 1 deletions
|
@ -2347,7 +2347,8 @@ static short slotoffsets[] = {
|
|||
#include "typeslots.inc"
|
||||
};
|
||||
|
||||
PyObject* PyType_FromSpec(PyType_Spec *spec)
|
||||
PyObject *
|
||||
PyType_FromSpec(PyType_Spec *spec)
|
||||
{
|
||||
PyHeapTypeObject *res = (PyHeapTypeObject*)PyType_GenericAlloc(&PyType_Type, 0);
|
||||
char *res_start = (char*)res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue