[Python-checkins] python/dist/src/Mac/Modules/ah _AHmodule.c,1.1,1.2 ahsupport.py,1.1,1.2

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 30 Aug 2002 16:02:11 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/ah
In directory usw-pr-cvs1:/tmp/cvs-serv1537

Modified Files:
	_AHmodule.c ahsupport.py 
Log Message:
Typecode for AHTOCType was wrong. Fixed.


Index: _AHmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ah/_AHmodule.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** _AHmodule.c	22 Aug 2002 23:31:37 -0000	1.1
--- _AHmodule.c	30 Aug 2002 23:02:09 -0000	1.2
***************
*** 53,57 ****
  	OSStatus _err;
  	AHTOCType toctype;
! 	if (!PyArg_ParseTuple(_args, "s",
  	                      &toctype))
  		return NULL;
--- 53,57 ----
  	OSStatus _err;
  	AHTOCType toctype;
! 	if (!PyArg_ParseTuple(_args, "h",
  	                      &toctype))
  		return NULL;

Index: ahsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ah/ahsupport.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ahsupport.py	22 Aug 2002 23:31:37 -0000	1.1
--- ahsupport.py	30 Aug 2002 23:02:09 -0000	1.2
***************
*** 18,22 ****
  
  # Create the type objects
! AHTOCType = Type("AHTOCType", "s")
  
  includestuff = includestuff + """
--- 18,22 ----
  
  # Create the type objects
! AHTOCType = Type("AHTOCType", "h")
  
  includestuff = includestuff + """