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
ea7f88e3
Kaydet (Commit)
ea7f88e3
authored
Haz 08, 2007
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix warnings by using proper function prototype.
üst
1605ba3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
ffi.c
Modules/_ctypes/libffi/src/x86/ffi.c
+6
-6
ffi64.c
Modules/_ctypes/libffi/src/x86/ffi64.c
+2
-2
No files found.
Modules/_ctypes/libffi/src/x86/ffi.c
Dosyayı görüntüle @
ea7f88e3
...
@@ -174,7 +174,7 @@ extern void ffi_call_SYSV(void (*)(char *, extended_cif *),
...
@@ -174,7 +174,7 @@ extern void ffi_call_SYSV(void (*)(char *, extended_cif *),
/*@out@*/
extended_cif
*
,
/*@out@*/
extended_cif
*
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
/*@out@*/
unsigned
*
,
/*@out@*/
unsigned
*
,
void
(
*
fn
)());
void
(
*
fn
)(
void
));
/*@=declundef@*/
/*@=declundef@*/
/*@=exportheader@*/
/*@=exportheader@*/
...
@@ -185,13 +185,13 @@ extern void ffi_call_STDCALL(void (*)(char *, extended_cif *),
...
@@ -185,13 +185,13 @@ extern void ffi_call_STDCALL(void (*)(char *, extended_cif *),
/*@out@*/
extended_cif
*
,
/*@out@*/
extended_cif
*
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
/*@out@*/
unsigned
*
,
/*@out@*/
unsigned
*
,
void
(
*
fn
)());
void
(
*
fn
)(
void
));
/*@=declundef@*/
/*@=declundef@*/
/*@=exportheader@*/
/*@=exportheader@*/
#endif
/* X86_WIN32 */
#endif
/* X86_WIN32 */
void
ffi_call
(
/*@dependent@*/
ffi_cif
*
cif
,
void
ffi_call
(
/*@dependent@*/
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
(
*
fn
)(
void
),
/*@out@*/
void
*
rvalue
,
/*@out@*/
void
*
rvalue
,
/*@dependent@*/
void
**
avalue
)
/*@dependent@*/
void
**
avalue
)
{
{
...
@@ -405,7 +405,7 @@ ffi_call_SYSV(void (*)(char *, extended_cif *),
...
@@ -405,7 +405,7 @@ ffi_call_SYSV(void (*)(char *, extended_cif *),
/*@out@*/
extended_cif
*
,
/*@out@*/
extended_cif
*
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
/*@out@*/
unsigned
*
,
/*@out@*/
unsigned
*
,
void
(
*
fn
)());
void
(
*
fn
)(
void
));
#ifdef X86_WIN32
#ifdef X86_WIN32
extern
void
extern
void
...
@@ -413,12 +413,12 @@ ffi_call_STDCALL(void (*)(char *, extended_cif *),
...
@@ -413,12 +413,12 @@ ffi_call_STDCALL(void (*)(char *, extended_cif *),
/*@out@*/
extended_cif
*
,
/*@out@*/
extended_cif
*
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
/*@out@*/
unsigned
*
,
/*@out@*/
unsigned
*
,
void
(
*
fn
)());
void
(
*
fn
)(
void
));
#endif
/* X86_WIN32 */
#endif
/* X86_WIN32 */
void
void
ffi_raw_call
(
/*@dependent@*/
ffi_cif
*
cif
,
ffi_raw_call
(
/*@dependent@*/
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
(
*
fn
)(
void
),
/*@out@*/
void
*
rvalue
,
/*@out@*/
void
*
rvalue
,
/*@dependent@*/
ffi_raw
*
fake_avalue
)
/*@dependent@*/
ffi_raw
*
fake_avalue
)
{
{
...
...
Modules/_ctypes/libffi/src/x86/ffi64.c
Dosyayı görüntüle @
ea7f88e3
...
@@ -42,7 +42,7 @@ struct register_args
...
@@ -42,7 +42,7 @@ struct register_args
};
};
extern
void
ffi_call_unix64
(
void
*
args
,
unsigned
long
bytes
,
unsigned
flags
,
extern
void
ffi_call_unix64
(
void
*
args
,
unsigned
long
bytes
,
unsigned
flags
,
void
*
raddr
,
void
(
*
fnaddr
)(),
unsigned
ssecount
);
void
*
raddr
,
void
(
*
fnaddr
)(
void
),
unsigned
ssecount
);
/* All reference to register classes here is identical to the code in
/* All reference to register classes here is identical to the code in
gcc/config/i386/i386.c. Do *not* change one without the other. */
gcc/config/i386/i386.c. Do *not* change one without the other. */
...
@@ -339,7 +339,7 @@ ffi_prep_cif_machdep (ffi_cif *cif)
...
@@ -339,7 +339,7 @@ ffi_prep_cif_machdep (ffi_cif *cif)
}
}
void
void
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
*
rvalue
,
void
**
avalue
)
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(
void
),
void
*
rvalue
,
void
**
avalue
)
{
{
enum
x86_64_reg_class
classes
[
MAX_CLASSES
];
enum
x86_64_reg_class
classes
[
MAX_CLASSES
];
char
*
stack
,
*
argp
;
char
*
stack
,
*
argp
;
...
...
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