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
c2da9945
Kaydet (Commit)
c2da9945
authored
Haz 12, 2006
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add pep-291 compatibility markers.
üst
f6083170
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
61 additions
and
2 deletions
+61
-2
__init__.py
Lib/ctypes/__init__.py
+3
-0
_endian.py
Lib/ctypes/_endian.py
+3
-0
__init__.py
Lib/ctypes/macholib/__init__.py
+3
-0
dyld.py
Lib/ctypes/macholib/dyld.py
+3
-0
dylib.py
Lib/ctypes/macholib/dylib.py
+3
-0
framework.py
Lib/ctypes/macholib/framework.py
+3
-0
util.py
Lib/ctypes/util.py
+3
-0
wintypes.py
Lib/ctypes/wintypes.py
+3
-0
_ctypes.c
Modules/_ctypes/_ctypes.c
+5
-0
_ctypes_test.c
Modules/_ctypes/_ctypes_test.c
+5
-0
callbacks.c
Modules/_ctypes/callbacks.c
+4
-0
callproc.c
Modules/_ctypes/callproc.c
+5
-0
cfield.c
Modules/_ctypes/cfield.c
+4
-0
ctypes.h
Modules/_ctypes/ctypes.h
+3
-1
ctypes_dlfcn.h
Modules/_ctypes/ctypes_dlfcn.h
+3
-1
malloc_closure.c
Modules/_ctypes/malloc_closure.c
+4
-0
stgdict.c
Modules/_ctypes/stgdict.c
+4
-0
No files found.
Lib/ctypes/__init__.py
Dosyayı görüntüle @
c2da9945
######################################################################
# This file should be kept compatible with Python 2.3, see PEP 291. #
######################################################################
"""create and manipulate C data types in Python"""
"""create and manipulate C data types in Python"""
import
os
as
_os
,
sys
as
_sys
import
os
as
_os
,
sys
as
_sys
...
...
Lib/ctypes/_endian.py
Dosyayı görüntüle @
c2da9945
######################################################################
# This file should be kept compatible with Python 2.3, see PEP 291. #
######################################################################
import
sys
import
sys
from
ctypes
import
*
from
ctypes
import
*
...
...
Lib/ctypes/macholib/__init__.py
Dosyayı görüntüle @
c2da9945
######################################################################
# This file should be kept compatible with Python 2.3, see PEP 291. #
######################################################################
"""
"""
Enough Mach-O to make your head spin.
Enough Mach-O to make your head spin.
...
...
Lib/ctypes/macholib/dyld.py
Dosyayı görüntüle @
c2da9945
######################################################################
# This file should be kept compatible with Python 2.3, see PEP 291. #
######################################################################
"""
"""
dyld emulation
dyld emulation
"""
"""
...
...
Lib/ctypes/macholib/dylib.py
Dosyayı görüntüle @
c2da9945
######################################################################
# This file should be kept compatible with Python 2.3, see PEP 291. #
######################################################################
"""
"""
Generic dylib path manipulation
Generic dylib path manipulation
"""
"""
...
...
Lib/ctypes/macholib/framework.py
Dosyayı görüntüle @
c2da9945
######################################################################
# This file should be kept compatible with Python 2.3, see PEP 291. #
######################################################################
"""
"""
Generic framework path manipulation
Generic framework path manipulation
"""
"""
...
...
Lib/ctypes/util.py
Dosyayı görüntüle @
c2da9945
######################################################################
# This file should be kept compatible with Python 2.3, see PEP 291. #
######################################################################
import
sys
,
os
import
sys
,
os
# find_library(name) returns the pathname of a library, or None.
# find_library(name) returns the pathname of a library, or None.
...
...
Lib/ctypes/wintypes.py
Dosyayı görüntüle @
c2da9945
######################################################################
# This file should be kept compatible with Python 2.3, see PEP 291. #
######################################################################
# XXX This module needs cleanup.
# XXX This module needs cleanup.
from
ctypes
import
*
from
ctypes
import
*
...
...
Modules/_ctypes/_ctypes.c
Dosyayı görüntüle @
c2da9945
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
/*
/*
ToDo:
ToDo:
...
...
Modules/_ctypes/_ctypes_test.c
Dosyayı görüntüle @
c2da9945
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include <Python.h>
#include <Python.h>
/*
/*
...
...
Modules/_ctypes/callbacks.c
Dosyayı görüntüle @
c2da9945
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include "Python.h"
#include "Python.h"
#include "compile.h"
/* required only for 2.3, as it seems */
#include "compile.h"
/* required only for 2.3, as it seems */
#include "frameobject.h"
#include "frameobject.h"
...
...
Modules/_ctypes/callproc.c
Dosyayı görüntüle @
c2da9945
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
/*
/*
* History: First version dated from 3/97, derived from my SCMLIB version
* History: First version dated from 3/97, derived from my SCMLIB version
* for win16.
* for win16.
...
...
Modules/_ctypes/cfield.c
Dosyayı görüntüle @
c2da9945
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include "Python.h"
#include "Python.h"
#include <ffi.h>
#include <ffi.h>
...
...
Modules/_ctypes/ctypes.h
Dosyayı görüntüle @
c2da9945
/******************************************************************/
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#if (PY_VERSION_HEX < 0x02050000)
#if (PY_VERSION_HEX < 0x02050000)
typedef
int
Py_ssize_t
;
typedef
int
Py_ssize_t
;
...
...
Modules/_ctypes/ctypes_dlfcn.h
Dosyayı görüntüle @
c2da9945
/******************************************************************/
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#ifndef _CTYPES_DLFCN_H_
#ifndef _CTYPES_DLFCN_H_
#define _CTYPES_DLFCN_H_
#define _CTYPES_DLFCN_H_
...
...
Modules/_ctypes/malloc_closure.c
Dosyayı görüntüle @
c2da9945
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include <Python.h>
#include <Python.h>
#include <ffi.h>
#include <ffi.h>
#ifdef MS_WIN32
#ifdef MS_WIN32
...
...
Modules/_ctypes/stgdict.c
Dosyayı görüntüle @
c2da9945
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include "Python.h"
#include "Python.h"
#include <ffi.h>
#include <ffi.h>
#ifdef MS_WIN32
#ifdef MS_WIN32
...
...
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