Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
b7d3d4e5
Kaydet (Commit)
b7d3d4e5
authored
Şub 10, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make newvarobj's size arg signed
üst
10f8efd8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
longintrepr.h
Include/longintrepr.h
+1
-1
objimpl.h
Include/objimpl.h
+1
-1
No files found.
Include/longintrepr.h
Dosyayı görüntüle @
b7d3d4e5
...
@@ -62,7 +62,7 @@ typedef long stwodigits; /* signed variant of twodigits */
...
@@ -62,7 +62,7 @@ typedef long stwodigits; /* signed variant of twodigits */
struct
_longobject
{
struct
_longobject
{
PyObject_HEAD
PyObject_HEAD
int
ob_size
;
/* XXX Hack! newvarobj() stores it as unsigned! */
int
ob_size
;
digit
ob_digit
[
1
];
digit
ob_digit
[
1
];
};
};
...
...
Include/objimpl.h
Dosyayı görüntüle @
b7d3d4e5
...
@@ -48,7 +48,7 @@ n * tp_itemsize. This fills in the ob_size field as well.
...
@@ -48,7 +48,7 @@ n * tp_itemsize. This fills in the ob_size field as well.
*/
*/
extern
PyObject
*
_PyObject_New
Py_PROTO
((
PyTypeObject
*
));
extern
PyObject
*
_PyObject_New
Py_PROTO
((
PyTypeObject
*
));
extern
varobject
*
_PyObject_NewVar
Py_PROTO
((
PyTypeObject
*
,
unsigned
int
));
extern
varobject
*
_PyObject_NewVar
Py_PROTO
((
PyTypeObject
*
,
int
));
#define PyObject_NEW(type, typeobj) ((type *) _PyObject_New(typeobj))
#define PyObject_NEW(type, typeobj) ((type *) _PyObject_New(typeobj))
#define PyObject_NEW_VAR(type, typeobj, n) ((type *) _PyObject_NewVar(typeobj, n))
#define PyObject_NEW_VAR(type, typeobj, n) ((type *) _PyObject_NewVar(typeobj, n))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment