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
0acd4b6e
Kaydet (Commit)
0acd4b6e
authored
Şub 18, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
changes for Mac CFM-68K
üst
6b13ba22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
allobjects.h
Include/allobjects.h
+8
-0
mymalloc.h
Include/mymalloc.h
+4
-0
mymath.h
Include/mymath.h
+16
-0
No files found.
Include/allobjects.h
Dosyayı görüntüle @
0acd4b6e
...
@@ -47,12 +47,20 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -47,12 +47,20 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "config.h"
#include "config.h"
#endif
#endif
#ifdef __CFM68K__
#define UsingSharedLibs
#endif
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>
#include "myproto.h"
#include "myproto.h"
#ifdef __CFM68K__
#pragma lib_export on
#endif
#include "object.h"
#include "object.h"
#include "objimpl.h"
#include "objimpl.h"
...
...
Include/mymalloc.h
Dosyayı görüntüle @
0acd4b6e
...
@@ -56,6 +56,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -56,6 +56,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern
"C"
{
extern
"C"
{
#endif
#endif
#ifdef __CFM68K__
#pragma lib_export on
#endif
#ifndef HAVE_STDLIB_H
#ifndef HAVE_STDLIB_H
extern
ANY
*
malloc
Py_PROTO
((
size_t
));
extern
ANY
*
malloc
Py_PROTO
((
size_t
));
extern
ANY
*
calloc
Py_PROTO
((
size_t
,
size_t
));
extern
ANY
*
calloc
Py_PROTO
((
size_t
,
size_t
));
...
...
Include/mymath.h
0 → 100644
Dosyayı görüntüle @
0acd4b6e
/* On the 68K Mac, when using CFM (Code Fragment Manager),
<math.h> requires special treatment -- we need to surround it with
#pragma lib_export off / on...
This is because MathLib.o is a static library, and exporting its
symbols doesn't quite work...
XXX Not sure now... Seems to be something else going on as well... */
#ifdef __CFM68K__
#pragma lib_export off
#endif
#include <math.h>
#ifdef __CFM68K__
#pragma lib_export on
#endif
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