diff options
author | Guido van Rossum <guido@python.org> | 1997-04-29 16:21:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-29 16:21:39 (GMT) |
commit | 63c35e54079621bd3ebcc8ac9cd11205ebb40376 (patch) | |
tree | fc035a4c9e31e4151f1742653bbe7444b7c49013 /Include | |
parent | 92e8782217dc39afbe67b8684fbf71d236315a22 (diff) | |
download | cpython-63c35e54079621bd3ebcc8ac9cd11205ebb40376.zip cpython-63c35e54079621bd3ebcc8ac9cd11205ebb40376.tar.gz cpython-63c35e54079621bd3ebcc8ac9cd11205ebb40376.tar.bz2 |
Remove macros that are only used for cgensupport.[ch].
Fixed typo in PyArg_VaParse (not PyArgs_*).
Diffstat (limited to 'Include')
-rw-r--r-- | Include/rename2.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Include/rename2.h b/Include/rename2.h index 8792e87..e57c26f 100644 --- a/Include/rename2.h +++ b/Include/rename2.h @@ -388,24 +388,12 @@ PERFORMANCE OF THIS SOFTWARE. #define mkvalue Py_BuildValue #define vmkvalue Py_VaBuildValue #define getargs PyArg_Parse -#define vgetargs PyArgs_VaParse +#define vgetargs PyArg_VaParse #define newgetargs PyArg_ParseTuple -#define getichararg PyArg_GetChar -#define getidoublearray PyArg_GetDoubleArray -#define getifloatarg PyArg_GetFloat -#define getifloatarray PyArg_GetFloatArray -#define getnoarg(v) PyArg_NoArgs(v) +#define getnoarg(v) PyArg_Parse((v), "") #define getintarg(v,a) getargs((v),"i",(a)) #define getlongarg(v,a) getargs((v),"l",(a)) #define getstrarg(v,a) getargs((v),"s",(a)) -#define getilongarg PyArg_GetLong -#define getilongarray PyArg_GetLongArray -#define getilongarraysize PyArg_GetLongArraySize -#define getiobjectarg PyArg_GetObject -#define getishortarg PyArg_GetShort -#define getishortarray PyArg_GetShortArray -#define getishortarraysize PyArg_GetShortArraySize -#define getistringarg PyArg_GetString #define err_badarg PyErr_BadArgument #define err_badcall PyErr_BadInternalCall #define err_nomem PyErr_NoMemory |