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
0a116f3a
Kaydet (Commit)
0a116f3a
authored
Ara 23, 2002
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Squashed compiler warnings by adding casts, making sure prototypes are in
scope and looking at types.
üst
446f3236
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
getpath.c
Modules/getpath.c
+1
-1
main.c
Modules/main.c
+4
-0
dynload_next.c
Python/dynload_next.c
+1
-1
mactoolboxglue.c
Python/mactoolboxglue.c
+1
-1
No files found.
Modules/getpath.c
Dosyayı görüntüle @
0a116f3a
...
...
@@ -421,7 +421,7 @@ calculate_path(void)
*/
pythonModule
=
NSModuleForSymbol
(
NSLookupAndBindSymbol
(
"_Py_Initialize"
));
/* Use dylib functions to find out where the framework was loaded from */
buf
=
NSLibraryNameForModule
(
pythonModule
);
buf
=
(
char
*
)
NSLibraryNameForModule
(
pythonModule
);
if
(
buf
!=
NULL
)
{
/* We're in a framework. */
/* See if we might be in the build directory. The framework in the
...
...
Modules/main.c
Dosyayı görüntüle @
0a116f3a
...
...
@@ -13,6 +13,10 @@ extern PyObject* pyvms_gr_empty_string;
#include <fcntl.h>
#endif
#if defined(WITH_NEXT_FRAMEWORK)
#include "pymactoolbox.h"
#endif
#if (defined(PYOS_OS2) && !defined(PYCC_GCC)) || defined(MS_WINDOWS)
#define PYTHONHOMEHELP "<prefix>\\lib"
#else
...
...
Python/dynload_next.c
Dosyayı görüntüle @
0a116f3a
...
...
@@ -77,7 +77,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
newModule
=
NSLinkModule
(
image
,
pathname
,
LINKOPTIONS
);
if
(
newModule
==
NULL
)
{
int
errNo
;
char
*
fileName
,
*
moreErrorStr
;
c
onst
c
har
*
fileName
,
*
moreErrorStr
;
NSLinkEditErrors
c
;
NSLinkEditError
(
&
c
,
&
errNo
,
&
fileName
,
&
moreErrorStr
);
PyOS_snprintf
(
errBuf
,
512
,
"Failure linking new module: %s: %s"
,
...
...
Python/mactoolboxglue.c
Dosyayı görüntüle @
0a116f3a
...
...
@@ -53,7 +53,7 @@ char *PyMac_getscript()
/* This leaks a an object. */
name
=
CFStringConvertEncodingToIANACharSetName
(
enc
);
}
return
CFStringGetCStringPtr
(
name
,
0
);
return
(
char
*
)
CFStringGetCStringPtr
(
name
,
0
);
#else
int
font
,
script
,
lang
;
font
=
0
;
...
...
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