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
0268ac80
Kaydet (Commit)
0268ac80
authored
May 22, 2001
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Include Carbon/Carbon.h if appropriate.
Fixed glue initialization code so prototype is correct.
üst
b8e76a7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
pymactoolbox.h
Mac/Include/pymactoolbox.h
+5
-5
No files found.
Mac/Include/pymactoolbox.h
Dosyayı görüntüle @
0268ac80
...
...
@@ -25,12 +25,12 @@
** These macros are used in the module init code. If we use toolbox object glue
** it sets the function pointer to point to the real function.
*/
#define PyMac_INIT_TOOLBOX_OBJECT_NEW(rtn) { \
#define PyMac_INIT_TOOLBOX_OBJECT_NEW(
object,
rtn) { \
extern PyObject *(*PyMacGluePtr_##rtn)(object); \
PyMacGluePtr_##rtn = _##rtn; \
}
#define PyMac_INIT_TOOLBOX_OBJECT_CONVERT(rtn) { \
extern int (*PyMacGluePtr_##rtn)(
object
); \
#define PyMac_INIT_TOOLBOX_OBJECT_CONVERT(
object,
rtn) { \
extern int (*PyMacGluePtr_##rtn)(
PyObject *, object *
); \
PyMacGluePtr_##rtn = _##rtn; \
}
#else
...
...
@@ -38,8 +38,8 @@
** If we don't use toolbox object glue the init macros are empty. Moreover, we define
** _xxx_New to be the same as xxx_New, and the code in mactoolboxglue isn't included.
*/
#define PyMac_INIT_TOOLBOX_OBJECT_NEW(rtn)
#define PyMac_INIT_TOOLBOX_OBJECT_CONVERT(rtn)
#define PyMac_INIT_TOOLBOX_OBJECT_NEW(
object,
rtn)
#define PyMac_INIT_TOOLBOX_OBJECT_CONVERT(
object,
rtn)
#endif
/* USE_TOOLBOX_OBJECT_GLUE */
/* AE exports */
...
...
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