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
c740d834
Kaydet (Commit)
c740d834
authored
Eki 12, 2007
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Get rid of warnings on a bunch of platforms by using a proper prototype.
üst
e77d1031
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
18 deletions
+18
-18
ffi.c
Modules/_ctypes/libffi/src/alpha/ffi.c
+2
-2
ffi.c
Modules/_ctypes/libffi/src/ia64/ffi.c
+3
-3
ffi.c
Modules/_ctypes/libffi/src/mips/ffi.c
+3
-3
ffi.c
Modules/_ctypes/libffi/src/pa/ffi.c
+2
-2
ffi.c
Modules/_ctypes/libffi/src/powerpc/ffi.c
+3
-3
ffi.c
Modules/_ctypes/libffi/src/s390/ffi.c
+2
-2
ffi.c
Modules/_ctypes/libffi/src/sparc/ffi.c
+3
-3
No files found.
Modules/_ctypes/libffi/src/alpha/ffi.c
Dosyayı görüntüle @
c740d834
...
...
@@ -28,7 +28,7 @@
#include <stdlib.h>
extern
void
ffi_call_osf
(
void
*
,
unsigned
long
,
unsigned
,
void
*
,
void
(
*
)());
extern
void
ffi_call_osf
(
void
*
,
unsigned
long
,
unsigned
,
void
*
,
void
(
*
)(
void
));
extern
void
ffi_closure_osf
(
void
);
...
...
@@ -58,7 +58,7 @@ ffi_prep_cif_machdep(ffi_cif *cif)
}
void
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
*
rvalue
,
void
**
avalue
)
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(
void
),
void
*
rvalue
,
void
**
avalue
)
{
unsigned
long
*
stack
,
*
argp
;
long
i
,
avn
;
...
...
Modules/_ctypes/libffi/src/ia64/ffi.c
Dosyayı görüntüle @
c740d834
...
...
@@ -259,10 +259,10 @@ ffi_prep_cif_machdep(ffi_cif *cif)
return
FFI_OK
;
}
extern
int
ffi_call_unix
(
struct
ia64_args
*
,
PTR64
,
void
(
*
)(),
UINT64
);
extern
int
ffi_call_unix
(
struct
ia64_args
*
,
PTR64
,
void
(
*
)(
void
),
UINT64
);
void
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
*
rvalue
,
void
**
avalue
)
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(
void
),
void
*
rvalue
,
void
**
avalue
)
{
struct
ia64_args
*
stack
;
long
i
,
avn
,
gpcount
,
fpcount
;
...
...
@@ -387,7 +387,7 @@ ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue)
gp pointer to the closure. This allows the function entry code to
both retrieve the user data, and to restire the correct gp pointer. */
extern
void
ffi_closure_unix
();
extern
void
ffi_closure_unix
(
void
);
ffi_status
ffi_prep_closure
(
ffi_closure
*
closure
,
...
...
Modules/_ctypes/libffi/src/mips/ffi.c
Dosyayı görüntüle @
c740d834
...
...
@@ -445,14 +445,14 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
/* Low level routine for calling O32 functions */
extern
int
ffi_call_O32
(
void
(
*
)(
char
*
,
extended_cif
*
,
int
,
int
),
extended_cif
*
,
unsigned
,
unsigned
,
unsigned
*
,
void
(
*
)());
unsigned
,
unsigned
*
,
void
(
*
)(
void
));
/* Low level routine for calling N32 functions */
extern
int
ffi_call_N32
(
void
(
*
)(
char
*
,
extended_cif
*
,
int
,
int
),
extended_cif
*
,
unsigned
,
unsigned
,
unsigned
*
,
void
(
*
)());
unsigned
,
unsigned
*
,
void
(
*
)(
void
));
void
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
*
rvalue
,
void
**
avalue
)
void
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(
void
),
void
*
rvalue
,
void
**
avalue
)
{
extended_cif
ecif
;
...
...
Modules/_ctypes/libffi/src/pa/ffi.c
Dosyayı görüntüle @
c740d834
...
...
@@ -345,12 +345,12 @@ extern void ffi_call_LINUX(void (*)(UINT32 *, extended_cif *, unsigned),
/*@out@*/
extended_cif
*
,
unsigned
,
unsigned
,
/*@out@*/
unsigned
*
,
void
(
*
fn
)());
void
(
*
fn
)(
void
));
/*@=declundef@*/
/*@=exportheader@*/
void
ffi_call
(
/*@dependent@*/
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
(
*
fn
)(
void
),
/*@out@*/
void
*
rvalue
,
/*@dependent@*/
void
**
avalue
)
{
...
...
Modules/_ctypes/libffi/src/powerpc/ffi.c
Dosyayı görüntüle @
c740d834
...
...
@@ -756,17 +756,17 @@ ffi_prep_cif_machdep (ffi_cif *cif)
extern
void
ffi_call_SYSV
(
/*@out@*/
extended_cif
*
,
unsigned
,
unsigned
,
/*@out@*/
unsigned
*
,
void
(
*
fn
)());
void
(
*
fn
)(
void
));
extern
void
FFI_HIDDEN
ffi_call_LINUX64
(
/*@out@*/
extended_cif
*
,
unsigned
long
,
unsigned
long
,
/*@out@*/
unsigned
long
*
,
void
(
*
fn
)());
void
(
*
fn
)(
void
));
/*@=declundef@*/
/*@=exportheader@*/
void
ffi_call
(
/*@dependent@*/
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
(
*
fn
)(
void
),
/*@out@*/
void
*
rvalue
,
/*@dependent@*/
void
**
avalue
)
{
...
...
Modules/_ctypes/libffi/src/s390/ffi.c
Dosyayı görüntüle @
c740d834
...
...
@@ -88,7 +88,7 @@ extern void ffi_call_SYSV(unsigned,
void
(
*
)(
unsigned
char
*
,
extended_cif
*
),
unsigned
,
void
*
,
void
(
*
fn
)());
void
(
*
fn
)(
void
));
extern
void
ffi_closure_SYSV
(
void
);
...
...
@@ -480,7 +480,7 @@ ffi_prep_cif_machdep(ffi_cif *cif)
void
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
(
*
fn
)(
void
),
void
*
rvalue
,
void
**
avalue
)
{
...
...
Modules/_ctypes/libffi/src/sparc/ffi.c
Dosyayı görüntüle @
c740d834
...
...
@@ -358,13 +358,13 @@ int ffi_v9_layout_struct(ffi_type *arg, int off, char *ret, char *intg, char *fl
#ifdef SPARC64
extern
int
ffi_call_v9
(
void
*
,
extended_cif
*
,
unsigned
,
unsigned
,
unsigned
*
,
void
(
*
fn
)());
unsigned
,
unsigned
*
,
void
(
*
fn
)(
void
));
#else
extern
int
ffi_call_v8
(
void
*
,
extended_cif
*
,
unsigned
,
unsigned
,
unsigned
*
,
void
(
*
fn
)());
unsigned
,
unsigned
*
,
void
(
*
fn
)(
void
));
#endif
void
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(),
void
*
rvalue
,
void
**
avalue
)
void
ffi_call
(
ffi_cif
*
cif
,
void
(
*
fn
)(
void
),
void
*
rvalue
,
void
**
avalue
)
{
extended_cif
ecif
;
void
*
rval
=
rvalue
;
...
...
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