Commit 9f96332e authored by Jim Fulton's avatar Jim Fulton

Added hack to work with Python 1.5.2.

parent a2cb98ae
......@@ -33,7 +33,7 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
$Id: ThreadLock.c,v 1.4 1998/11/17 20:23:42 jim Exp $
$Id: ThreadLock.c,v 1.5 1998/11/17 21:43:50 jim Exp $
If you have questions regarding this software,
contact:
......@@ -46,13 +46,18 @@
*/
static char ThreadLock_module_documentation[] =
""
"\n$Id: ThreadLock.c,v 1.4 1998/11/17 20:23:42 jim Exp $"
"\n$Id: ThreadLock.c,v 1.5 1998/11/17 21:43:50 jim Exp $"
;
#include "Python.h"
#ifdef WITH_THREAD
#include "listobject.h"
#ifdef PyList_SET_ITEM
#include "pythread.h"
#else
#include "thread.h"
#endif
#endif
static PyObject *ErrorObject;
......@@ -277,7 +282,7 @@ void
initThreadLock()
{
PyObject *m, *d;
char *rev="$Revision: 1.4 $";
char *rev="$Revision: 1.5 $";
m = Py_InitModule4("ThreadLock", Module_methods,
ThreadLock_module_documentation,
......
......@@ -33,7 +33,7 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
$Id: ThreadLock.c,v 1.4 1998/11/17 20:23:42 jim Exp $
$Id: ThreadLock.c,v 1.5 1998/11/17 21:43:50 jim Exp $
If you have questions regarding this software,
contact:
......@@ -46,13 +46,18 @@
*/
static char ThreadLock_module_documentation[] =
""
"\n$Id: ThreadLock.c,v 1.4 1998/11/17 20:23:42 jim Exp $"
"\n$Id: ThreadLock.c,v 1.5 1998/11/17 21:43:50 jim Exp $"
;
#include "Python.h"
#ifdef WITH_THREAD
#include "listobject.h"
#ifdef PyList_SET_ITEM
#include "pythread.h"
#else
#include "thread.h"
#endif
#endif
static PyObject *ErrorObject;
......@@ -277,7 +282,7 @@ void
initThreadLock()
{
PyObject *m, *d;
char *rev="$Revision: 1.4 $";
char *rev="$Revision: 1.5 $";
m = Py_InitModule4("ThreadLock", Module_methods,
ThreadLock_module_documentation,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment