[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.60,1.61

Fred Drake python-dev@python.org
Mon, 3 Apr 2000 11:42:17 -0400


Update of /projects/cvsroot/python/dist/src/Doc/api
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/api
Modified Files:
	api.tex 
Log Message:
Merge in changes from the 1.5.2p2 release.
Hopefully I got all this right!
Index: api.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -r1.60 -r1.61
*** api.tex	2000年03月31日 18:22:38	1.60
--- api.tex	2000年04月03日 15:42:13	1.61
***************
*** 21,25 ****
 
 \noindent
! This manual documents the API used by \C{} (or \Cpp{}) programmers who
 want to write extension modules or embed Python. It is a companion to
 \citetitle[../ext/ext.html]{Extending and Embedding the Python
--- 21,25 ----
 
 \noindent
! This manual documents the API used by C and \Cpp{} programmers who
 want to write extension modules or embed Python. It is a companion to
[...4314 lines suppressed...]
+ \end{ctypedesc}
+ 
+ \begin{ctypedesc}[getsegcountproc]{int (*getsegcountproc)
+ (PyObject *self, int *lenp)}
+ Return the number of memory segments which comprise the buffer. If
+ \var{lenp} is not \NULL, the implementation must report the sum of the 
+ sizes (in bytes) of all segments in \code{*\var{lenp}}.
+ The function cannot fail.
+ \end{ctypedesc}
+ 
+ \begin{ctypedesc}[getcharbufferproc]{int (*getcharbufferproc)
+ (PyObject *self, int segment, const char **ptrptr)}
+ \end{ctypedesc}
 
 
! % \chapter{Debugging \label{debugging}}
! %
! % XXX Explain Py_DEBUG, Py_TRACE_REFS, Py_REF_DEBUG.
 
 

AltStyle によって変換されたページ (->オリジナル) /