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
76757985
Kaydet (Commit)
76757985
authored
Ock 24, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add co_firstlineno and co_lnotab, for the line number table generated
by the compiler (in lieu of SET_LINENO instructions).
üst
f2b2dac5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
compile.h
Include/compile.h
+4
-1
No files found.
Include/compile.h
Dosyayı görüntüle @
76757985
...
...
@@ -51,6 +51,8 @@ typedef struct {
/* The rest doesn't count for hash/cmp */
PyObject
*
co_filename
;
/* string (where it was loaded from) */
PyObject
*
co_name
;
/* string (name, for reference) */
int
co_firstlineno
;
/* first source line number */
PyObject
*
co_lnotab
;
/* string (encoding addr<->lineno mapping) */
}
PyCodeObject
;
/* Masks for co_flags above */
...
...
@@ -70,7 +72,8 @@ struct _node; /* Declare the existence of this type */
PyCodeObject
*
PyNode_Compile
Py_PROTO
((
struct
_node
*
,
char
*
));
PyCodeObject
*
PyCode_New
Py_PROTO
((
int
,
int
,
int
,
int
,
PyObject
*
,
PyObject
*
,
PyObject
*
,
PyObject
*
,
PyObject
*
,
PyObject
*
));
/* same as struct above */
PyObject
*
,
PyObject
*
,
int
,
PyObject
*
));
/* same as struct above */
int
PyCode_Addr2Line
Py_PROTO
((
PyCodeObject
*
,
int
));
#ifdef __cplusplus
}
...
...
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