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

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 18 Apr 2003 01:59:04 -0700


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

Modified Files:
      Tag: getargs_mask_mods
	_AHmodule.c 
Log Message:
Fixes for the new PyArg_ParseTuple k and K format chars, and the
changed semantics of h. Only lightly tested, but the IDE works
again.

These changes may not be needed anymore now that the semantic change
to h has been reverted, so I'm checking it in on a branch.


Index: _AHmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ah/_AHmodule.c,v
retrieving revision 1.2
retrieving revision 1.2.6.1
diff -C2 -d -r1.2 -r1.2.6.1
*** _AHmodule.c	30 Aug 2002 23:02:09 -0000	1.2
--- _AHmodule.c	18 Apr 2003 08:58:32 -0000	1.2.6.1
***************
*** 15,21 ****
  /* Macro to test whether a weak-loaded CFM function exists */
  #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL )  {\
!     	PyErr_SetString(PyExc_NotImplementedError, \
!     	"Not available in this shared library/OS version"); \
!     	return NULL; \
      }} while(0)
  
--- 15,21 ----
  /* Macro to test whether a weak-loaded CFM function exists */
  #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL )  {\
!         PyErr_SetString(PyExc_NotImplementedError, \
!         "Not available in this shared library/OS version"); \
!         return NULL; \
      }} while(0)