Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 620a766

Browse files
committed
Updated to Universal Headers 3.4
1 parent f30c3ad commit 620a766

31 files changed

Lines changed: 1835 additions & 68 deletions

Mac/Modules/app/_Appmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

Mac/Modules/cf/_CFmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

Mac/Modules/cg/_CGmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

Mac/Modules/cm/_Cmmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

Mac/Modules/ctl/_Ctlmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

Mac/Modules/dlg/_Dlgmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

Mac/Modules/drag/_Dragmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

Mac/Modules/evt/evtedit.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
)
55
functions.append(f)
66

7+
f = Function(UInt32, 'TickCount',
8+
)
9+
functions.append(f)
10+

Mac/Modules/fm/_Fmmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

Mac/Modules/help/_Helpmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66

77

8+
#ifdef _WIN32
9+
#include "pywintoolbox.h"
10+
#else
811
#include "macglue.h"
912
#include "pymactoolbox.h"
13+
#endif
1014

1115
/* Macro to test whether a weak-loaded CFM function exists */
1216
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\

0 commit comments

Comments
 (0)