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
e89bc750
Kaydet (Commit)
e89bc750
authored
Agu 18, 1994
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Changes for dynamic linking under NT
üst
14aa5da8
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
72 additions
and
59 deletions
+72
-59
accessobject.h
Include/accessobject.h
+2
-2
allobjects.h
Include/allobjects.h
+13
-0
classobject.h
Include/classobject.h
+1
-1
compile.h
Include/compile.h
+1
-1
errors.h
Include/errors.h
+19
-19
fileobject.h
Include/fileobject.h
+1
-1
floatobject.h
Include/floatobject.h
+1
-1
frameobject.h
Include/frameobject.h
+1
-1
funcobject.h
Include/funcobject.h
+1
-1
intobject.h
Include/intobject.h
+2
-2
listobject.h
Include/listobject.h
+1
-1
longobject.h
Include/longobject.h
+1
-1
mappingobject.h
Include/mappingobject.h
+1
-1
methodobject.h
Include/methodobject.h
+1
-1
moduleobject.h
Include/moduleobject.h
+1
-1
object.h
Include/object.h
+2
-2
pyerrors.h
Include/pyerrors.h
+19
-19
rangeobject.h
Include/rangeobject.h
+1
-1
stringobject.h
Include/stringobject.h
+1
-1
sysmodule.h
Include/sysmodule.h
+1
-1
tupleobject.h
Include/tupleobject.h
+1
-1
No files found.
Include/accessobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -46,7 +46,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -46,7 +46,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define AC_R_PUBLIC 0004
#define AC_R_PUBLIC 0004
#define AC_W_PUBLIC 0002
#define AC_W_PUBLIC 0002
extern
typeobject
Accesstype
;
extern
DL_IMPORT
typeobject
Accesstype
;
#define is_accessobject(v) ((v)->ob_type == &Accesstype)
#define is_accessobject(v) ((v)->ob_type == &Accesstype)
...
@@ -58,7 +58,7 @@ void setaccessowner PROTO((object *, object *));
...
@@ -58,7 +58,7 @@ void setaccessowner PROTO((object *, object *));
object
*
cloneaccessobject
PROTO
((
object
*
));
object
*
cloneaccessobject
PROTO
((
object
*
));
int
hasaccessvalue
PROTO
((
object
*
));
int
hasaccessvalue
PROTO
((
object
*
));
extern
typeobject
Anynumbertype
,
Anysequencetype
,
Anymappingtype
;
extern
DL_IMPORT
typeobject
Anynumbertype
,
Anysequencetype
,
Anymappingtype
;
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
Include/allobjects.h
Dosyayı görüntüle @
e89bc750
...
@@ -30,6 +30,19 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -30,6 +30,19 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* "allobjects.c" -- Source for precompiled header "allobjects.h" */
/* "allobjects.c" -- Source for precompiled header "allobjects.h" */
/* Some systems (well, NT anyway!) require special declarations for
data items imported from dynamic modules. Note that this defn is
only turned on for the modules built as DL modules, not for python
itself.
*/
#define DL_IMPORT
/* Save lots of #else/#if's */
#ifdef USE_DL_IMPORT
#ifdef NT
#undef DL_IMPORT
#define DL_IMPORT __declspec(dllimport)
#endif
/* NT */
#endif
/* USE_DL_IMPORT */
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
#endif
#endif
...
...
Include/classobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -57,7 +57,7 @@ typedef struct {
...
@@ -57,7 +57,7 @@ typedef struct {
#endif
#endif
}
instanceobject
;
}
instanceobject
;
extern
typeobject
Classtype
,
Instancetype
,
Instancemethodtype
;
extern
DL_IMPORT
typeobject
Classtype
,
Instancetype
,
Instancemethodtype
;
#define is_classobject(op) ((op)->ob_type == &Classtype)
#define is_classobject(op) ((op)->ob_type == &Classtype)
#define is_instanceobject(op) ((op)->ob_type == &Instancetype)
#define is_instanceobject(op) ((op)->ob_type == &Instancetype)
...
...
Include/compile.h
Dosyayı görüntüle @
e89bc750
...
@@ -47,7 +47,7 @@ typedef struct {
...
@@ -47,7 +47,7 @@ typedef struct {
object
*
co_name
;
/* string */
object
*
co_name
;
/* string */
}
codeobject
;
}
codeobject
;
extern
typeobject
Codetype
;
extern
DL_IMPORT
typeobject
Codetype
;
#define is_codeobject(op) ((op)->ob_type == &Codetype)
#define is_codeobject(op) ((op)->ob_type == &Codetype)
...
...
Include/errors.h
Dosyayı görüntüle @
e89bc750
...
@@ -39,25 +39,25 @@ void err_clear PROTO((void));
...
@@ -39,25 +39,25 @@ void err_clear PROTO((void));
/* Predefined exceptions */
/* Predefined exceptions */
extern
object
*
AccessError
;
extern
DL_IMPORT
object
*
AccessError
;
extern
object
*
AttributeError
;
extern
DL_IMPORT
object
*
AttributeError
;
extern
object
*
ConflictError
;
extern
DL_IMPORT
object
*
ConflictError
;
extern
object
*
EOFError
;
extern
DL_IMPORT
object
*
EOFError
;
extern
object
*
IOError
;
extern
DL_IMPORT
object
*
IOError
;
extern
object
*
ImportError
;
extern
DL_IMPORT
object
*
ImportError
;
extern
object
*
IndexError
;
extern
DL_IMPORT
object
*
IndexError
;
extern
object
*
KeyError
;
extern
DL_IMPORT
object
*
KeyError
;
extern
object
*
KeyboardInterrupt
;
extern
DL_IMPORT
object
*
KeyboardInterrupt
;
extern
object
*
MemoryError
;
extern
DL_IMPORT
object
*
MemoryError
;
extern
object
*
NameError
;
extern
DL_IMPORT
object
*
NameError
;
extern
object
*
OverflowError
;
extern
DL_IMPORT
object
*
OverflowError
;
extern
object
*
RuntimeError
;
extern
DL_IMPORT
object
*
RuntimeError
;
extern
object
*
SyntaxError
;
extern
DL_IMPORT
object
*
SyntaxError
;
extern
object
*
SystemError
;
extern
DL_IMPORT
object
*
SystemError
;
extern
object
*
SystemExit
;
extern
DL_IMPORT
object
*
SystemExit
;
extern
object
*
TypeError
;
extern
DL_IMPORT
object
*
TypeError
;
extern
object
*
ValueError
;
extern
DL_IMPORT
object
*
ValueError
;
extern
object
*
ZeroDivisionError
;
extern
DL_IMPORT
object
*
ZeroDivisionError
;
/* Convenience functions */
/* Convenience functions */
...
...
Include/fileobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* File object interface */
/* File object interface */
extern
typeobject
Filetype
;
extern
DL_IMPORT
typeobject
Filetype
;
#define is_fileobject(op) ((op)->ob_type == &Filetype)
#define is_fileobject(op) ((op)->ob_type == &Filetype)
...
...
Include/floatobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -39,7 +39,7 @@ typedef struct {
...
@@ -39,7 +39,7 @@ typedef struct {
double
ob_fval
;
double
ob_fval
;
}
floatobject
;
}
floatobject
;
extern
typeobject
Floattype
;
extern
DL_IMPORT
typeobject
Floattype
;
#define is_floatobject(op) ((op)->ob_type == &Floattype)
#define is_floatobject(op) ((op)->ob_type == &Floattype)
...
...
Include/frameobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -58,7 +58,7 @@ typedef struct _frame {
...
@@ -58,7 +58,7 @@ typedef struct _frame {
/* Standard object interface */
/* Standard object interface */
extern
typeobject
Frametype
;
extern
DL_IMPORT
typeobject
Frametype
;
#define is_frameobject(op) ((op)->ob_type == &Frametype)
#define is_frameobject(op) ((op)->ob_type == &Frametype)
...
...
Include/funcobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -39,7 +39,7 @@ typedef struct {
...
@@ -39,7 +39,7 @@ typedef struct {
object
*
func_argdefs
;
object
*
func_argdefs
;
}
funcobject
;
}
funcobject
;
extern
typeobject
Functype
;
extern
DL_IMPORT
typeobject
Functype
;
#define is_funcobject(op) ((op)->ob_type == &Functype)
#define is_funcobject(op) ((op)->ob_type == &Functype)
...
...
Include/intobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -50,7 +50,7 @@ typedef struct {
...
@@ -50,7 +50,7 @@ typedef struct {
long
ob_ival
;
long
ob_ival
;
}
intobject
;
}
intobject
;
extern
typeobject
Inttype
;
extern
DL_IMPORT
typeobject
Inttype
;
#define is_intobject(op) ((op)->ob_type == &Inttype)
#define is_intobject(op) ((op)->ob_type == &Inttype)
...
@@ -69,7 +69,7 @@ Hope these macros don't conflict with other people's.
...
@@ -69,7 +69,7 @@ Hope these macros don't conflict with other people's.
Don't forget to apply INCREF() when returning True or False!!!
Don't forget to apply INCREF() when returning True or False!!!
*/
*/
extern
intobject
FalseObject
,
TrueObject
;
/* Don't use these directly */
extern
DL_IMPORT
intobject
FalseObject
,
TrueObject
;
/* Don't use these directly */
#define False ((object *) &FalseObject)
#define False ((object *) &FalseObject)
#define True ((object *) &TrueObject)
#define True ((object *) &TrueObject)
...
...
Include/listobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -49,7 +49,7 @@ typedef struct {
...
@@ -49,7 +49,7 @@ typedef struct {
object
**
ob_item
;
object
**
ob_item
;
}
listobject
;
}
listobject
;
extern
typeobject
Listtype
;
extern
DL_IMPORT
typeobject
Listtype
;
#define is_listobject(op) ((op)->ob_type == &Listtype)
#define is_listobject(op) ((op)->ob_type == &Listtype)
...
...
Include/longobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -32,7 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -32,7 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
typedef
struct
_longobject
longobject
;
/* Revealed in longintrepr.h */
typedef
struct
_longobject
longobject
;
/* Revealed in longintrepr.h */
extern
typeobject
Longtype
;
extern
DL_IMPORT
typeobject
Longtype
;
#define is_longobject(op) ((op)->ob_type == &Longtype)
#define is_longobject(op) ((op)->ob_type == &Longtype)
...
...
Include/mappingobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Mapping object type -- mapping from hashable object to object */
/* Mapping object type -- mapping from hashable object to object */
extern
typeobject
Mappingtype
;
extern
DL_IMPORT
typeobject
Mappingtype
;
#define is_mappingobject(op) ((op)->ob_type == &Mappingtype)
#define is_mappingobject(op) ((op)->ob_type == &Mappingtype)
...
...
Include/methodobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Method object interface */
/* Method object interface */
extern
typeobject
Methodtype
;
extern
DL_IMPORT
typeobject
Methodtype
;
#define is_methodobject(op) ((op)->ob_type == &Methodtype)
#define is_methodobject(op) ((op)->ob_type == &Methodtype)
...
...
Include/moduleobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Module object interface */
/* Module object interface */
extern
typeobject
Moduletype
;
extern
DL_IMPORT
typeobject
Moduletype
;
#define is_moduleobject(op) ((op)->ob_type == &Moduletype)
#define is_moduleobject(op) ((op)->ob_type == &Moduletype)
...
...
Include/object.h
Dosyayı görüntüle @
e89bc750
...
@@ -227,7 +227,7 @@ typedef struct _typeobject {
...
@@ -227,7 +227,7 @@ typedef struct _typeobject {
#endif
#endif
}
typeobject
;
}
typeobject
;
extern
typeobject
Typetype
;
/* The type of type objects */
extern
DL_IMPORT
typeobject
Typetype
;
/* The type of type objects */
#define is_typeobject(op) ((op)->ob_type == &Typetype)
#define is_typeobject(op) ((op)->ob_type == &Typetype)
...
@@ -341,7 +341,7 @@ where NULL (nil) is not suitable (since NULL often means 'error').
...
@@ -341,7 +341,7 @@ where NULL (nil) is not suitable (since NULL often means 'error').
Don't forget to apply INCREF() when returning this value!!!
Don't forget to apply INCREF() when returning this value!!!
*/
*/
extern
object
NoObject
;
/* Don't use this directly */
extern
DL_IMPORT
object
NoObject
;
/* Don't use this directly */
#define None (&NoObject)
#define None (&NoObject)
...
...
Include/pyerrors.h
Dosyayı görüntüle @
e89bc750
...
@@ -39,25 +39,25 @@ void err_clear PROTO((void));
...
@@ -39,25 +39,25 @@ void err_clear PROTO((void));
/* Predefined exceptions */
/* Predefined exceptions */
extern
object
*
AccessError
;
extern
DL_IMPORT
object
*
AccessError
;
extern
object
*
AttributeError
;
extern
DL_IMPORT
object
*
AttributeError
;
extern
object
*
ConflictError
;
extern
DL_IMPORT
object
*
ConflictError
;
extern
object
*
EOFError
;
extern
DL_IMPORT
object
*
EOFError
;
extern
object
*
IOError
;
extern
DL_IMPORT
object
*
IOError
;
extern
object
*
ImportError
;
extern
DL_IMPORT
object
*
ImportError
;
extern
object
*
IndexError
;
extern
DL_IMPORT
object
*
IndexError
;
extern
object
*
KeyError
;
extern
DL_IMPORT
object
*
KeyError
;
extern
object
*
KeyboardInterrupt
;
extern
DL_IMPORT
object
*
KeyboardInterrupt
;
extern
object
*
MemoryError
;
extern
DL_IMPORT
object
*
MemoryError
;
extern
object
*
NameError
;
extern
DL_IMPORT
object
*
NameError
;
extern
object
*
OverflowError
;
extern
DL_IMPORT
object
*
OverflowError
;
extern
object
*
RuntimeError
;
extern
DL_IMPORT
object
*
RuntimeError
;
extern
object
*
SyntaxError
;
extern
DL_IMPORT
object
*
SyntaxError
;
extern
object
*
SystemError
;
extern
DL_IMPORT
object
*
SystemError
;
extern
object
*
SystemExit
;
extern
DL_IMPORT
object
*
SystemExit
;
extern
object
*
TypeError
;
extern
DL_IMPORT
object
*
TypeError
;
extern
object
*
ValueError
;
extern
DL_IMPORT
object
*
ValueError
;
extern
object
*
ZeroDivisionError
;
extern
DL_IMPORT
object
*
ZeroDivisionError
;
/* Convenience functions */
/* Convenience functions */
...
...
Include/rangeobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -34,7 +34,7 @@ Range objects behave like the corresponding tuple objects except that
...
@@ -34,7 +34,7 @@ Range objects behave like the corresponding tuple objects except that
they are represented by a start, stop, and step datamembers.
they are represented by a start, stop, and step datamembers.
*/
*/
extern
typeobject
Rangetype
;
extern
DL_IMPORT
typeobject
Rangetype
;
#define is_rangeobject(op) ((op)->ob_type == &Rangetype)
#define is_rangeobject(op) ((op)->ob_type == &Rangetype)
...
...
Include/stringobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -57,7 +57,7 @@ typedef struct {
...
@@ -57,7 +57,7 @@ typedef struct {
char
ob_sval
[
1
];
char
ob_sval
[
1
];
}
stringobject
;
}
stringobject
;
extern
typeobject
Stringtype
;
extern
DL_IMPORT
typeobject
Stringtype
;
#define is_stringobject(op) ((op)->ob_type == &Stringtype)
#define is_stringobject(op) ((op)->ob_type == &Stringtype)
...
...
Include/sysmodule.h
Dosyayı görüntüle @
e89bc750
...
@@ -35,7 +35,7 @@ int sysset PROTO((char *, object *));
...
@@ -35,7 +35,7 @@ int sysset PROTO((char *, object *));
FILE
*
sysgetfile
PROTO
((
char
*
,
FILE
*
));
FILE
*
sysgetfile
PROTO
((
char
*
,
FILE
*
));
void
initsys
PROTO
((
void
));
void
initsys
PROTO
((
void
));
extern
object
*
sys_trace
,
*
sys_profile
;
extern
DL_IMPORT
object
*
sys_trace
,
*
sys_profile
;
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
Include/tupleobject.h
Dosyayı görüntüle @
e89bc750
...
@@ -49,7 +49,7 @@ typedef struct {
...
@@ -49,7 +49,7 @@ typedef struct {
object
*
ob_item
[
1
];
object
*
ob_item
[
1
];
}
tupleobject
;
}
tupleobject
;
extern
typeobject
Tupletype
;
extern
DL_IMPORT
typeobject
Tupletype
;
#define is_tupleobject(op) ((op)->ob_type == &Tupletype)
#define is_tupleobject(op) ((op)->ob_type == &Tupletype)
...
...
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