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

Skip to content

Commit 7e01890

Browse files
author
Peter Schneider-Kamp
committed
merge Include/my*.h into Include/pyport.h
marked my*.h as obsolete
1 parent 885082c commit 7e01890

31 files changed

Lines changed: 341 additions & 51 deletions

Include/Python.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
5454

5555
#include "pyport.h"
5656

57-
#include "myproto.h"
58-
5957
#include "object.h"
6058
#include "objimpl.h"
6159

@@ -85,7 +83,6 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
8583

8684
#include "codecs.h"
8785
#include "pyerrors.h"
88-
#include "mymalloc.h"
8986

9087
#include "pystate.h"
9188

Include/mymalloc.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ See the file "Misc/COPYRIGHT" for information on usage and
1010
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1111
******************************************************************/
1212

13+
/***************************************
14+
THIS FILE IS OBSOLETE
15+
USE "pyport.h" INSTEAD
16+
***************************************/
17+
1318
/* Lowest-level memory allocation interface */
1419

1520
#define ANY void /* For API compatibility only. Obsolete, do not use. */

Include/mymath.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/***************************************
2+
THIS FILE IS OBSOLETE
3+
USE "pyport.h" INSTEAD
4+
***************************************/
5+
16
/* On the 68K Mac, when using CFM (Code Fragment Manager),
27
<math.h> requires special treatment -- we need to surround it with
38
#pragma lib_export off / on...

Include/myselect.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ See the file "Misc/COPYRIGHT" for information on usage and
1414
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1515
******************************************************************/
1616

17+
/***************************************
18+
THIS FILE IS OBSOLETE
19+
USE "pyport.h" INSTEAD
20+
***************************************/
21+
1722
/* Include file for users of select() */
1823

1924
/* NB caller must include <sys/types.h> */

Include/mytime.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ See the file "Misc/COPYRIGHT" for information on usage and
1414
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1515
******************************************************************/
1616

17+
/***************************************
18+
THIS FILE IS OBSOLETE
19+
USE "pyport.h" INSTEAD
20+
***************************************/
21+
1722
/* Include file instead of <time.h> and/or <sys/time.h> */
1823

1924
#ifdef TIME_WITH_SYS_TIME

Include/objimpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1414
extern "C" {
1515
#endif
1616

17-
#include "mymalloc.h"
17+
#include "pyport.h"
1818

1919
/*
2020
Functions and macros for modules that implement new object types.

Include/pgenheaders.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
3030
#include <stdlib.h>
3131
#endif
3232

33-
#include "myproto.h"
34-
#include "mymalloc.h"
33+
#include "pyport.h"
3534

3635
#include "pydebug.h"
3736

0 commit comments

Comments
 (0)