Add pep-291 compatibility markers.

This commit is contained in:
Thomas Heller 2006-06-12 20:56:48 +00:00
parent f608317061
commit c2da994585
17 changed files with 61 additions and 2 deletions

View file

@ -1,3 +1,8 @@
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
/*
ToDo:

View file

@ -1,3 +1,8 @@
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include <Python.h>
/*

View file

@ -1,3 +1,7 @@
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include "Python.h"
#include "compile.h" /* required only for 2.3, as it seems */
#include "frameobject.h"

View file

@ -1,3 +1,8 @@
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
/*
* History: First version dated from 3/97, derived from my SCMLIB version
* for win16.

View file

@ -1,3 +1,7 @@
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include "Python.h"
#include <ffi.h>

View file

@ -1,4 +1,6 @@
/******************************************************************/
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#if (PY_VERSION_HEX < 0x02050000)
typedef int Py_ssize_t;

View file

@ -1,4 +1,6 @@
/******************************************************************/
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#ifndef _CTYPES_DLFCN_H_
#define _CTYPES_DLFCN_H_

View file

@ -1,3 +1,7 @@
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include <Python.h>
#include <ffi.h>
#ifdef MS_WIN32

View file

@ -1,3 +1,7 @@
/*****************************************************************
This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/
#include "Python.h"
#include <ffi.h>
#ifdef MS_WIN32