[Python-checkins] python/dist/src/Doc/api concrete.tex,1.22,1.23

theller@users.sourceforge.net theller@users.sourceforge.net
Wed, 23 Apr 2003 12:51:09 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1:/tmp/cvs-serv4406

Modified Files:
	concrete.tex 
Log Message:
Document the new functions PyInt_AsUnsignedLongMask(), PyInt_AsUnsignedLongLongMask(),
PyLong_AsUnsignedLongMask(), PyLong_AsUnsignedLongLongMask().


Index: concrete.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/concrete.tex,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** concrete.tex	30 Mar 2003 16:40:42 -0000	1.22
--- concrete.tex	23 Apr 2003 19:51:05 -0000	1.23
***************
*** 169,172 ****
--- 169,186 ----
  \end{cfuncdesc}
  
+ \begin{cfuncdesc}{unsigned long}{PyInt_AsUnsignedLongMask}{PyObject *io}
+   Will first attempt to cast the object to a \ctype{PyIntObject} or
+   \ctypes{PyLongObject}, if it is not already one, and then return its
+   value as unsigned long.  This function does not check for overflow.
+   \versionadded{2.3}
+ \end{cfuncdesc}
+ 
+ \begin{cfuncdesc}{unsigned long}{PyInt_AsUnsignedLongLongMask}{PyObject *io}
+   Will first attempt to cast the object to a \ctype{PyIntObject} or
+   \ctypes{PyLongObject}, if it is not already one, and then return its
+   value as unsigned long long, without checking for overflow.
+   \versionadded{2.3}
+ \end{cfuncdesc}
+ 
  \begin{cfuncdesc}{long}{PyInt_GetMax}{}
    Returns the system's idea of the largest integer it can handle
***************
*** 292,295 ****
--- 306,321 ----
    negative.
    \versionadded{2.2}
+ \end{cfuncdesc}
+ 
+ \begin{cfuncdesc}{unsigned long}{PyLong_AsUnsignedLongMask}{PyObject *io}
+   Return a C \ctype{unsigned long} from a Python long integer, without
+   checking for overflow.
+   \versionadded{2.3}
+ \end{cfuncdesc}
+ 
+ \begin{cfuncdesc}{unsigned long}{PyLong_AsUnsignedLongLongMask}{PyObject *io}
+   Return a C \ctype{unsigned long long} from a Python long integer, without
+   checking for overflow.
+   \versionadded{2.3}
  \end{cfuncdesc}