Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
df628e6f
Commit
df628e6f
authored
Jan 17, 2001
by
Marc-André Lemburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undoing the whitespace patches which sneaked into the earlier patch.
parent
3598f0c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Doc/api/api.tex
Doc/api/api.tex
+6
-6
No files found.
Doc/api/api.tex
View file @
df628e6f
...
...
@@ -4,7 +4,7 @@
\input
{
boilerplate
}
\makeindex
% tell \index to actually write the .idx file
\makeindex
% tell \index to actually write the .idx file
\begin{document}
...
...
@@ -3788,14 +3788,14 @@ Returns true if its argument is a \ctype{PyCObject}.
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyCObject
_
FromVoidPtr
}{
void* cobj,
void (*destr)(void *)
}
void (*destr)(void *)
}
Creates a
\ctype
{
PyCObject
}
from the
\code
{
void *
}
\var
{
cobj
}
. The
\var
{
destr
}
function will be called when the object is reclaimed, unless
it is
\NULL
.
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyCObject
_
FromVoidPtrAndDesc
}{
void* cobj,
void* desc, void (*destr)(void *, void *)
}
void* desc, void (*destr)(void *, void *)
}
Creates a
\ctype
{
PyCObject
}
from the
\ctype
{
void *
}
\var
{
cobj
}
. The
\var
{
destr
}
function will be called when the object is reclaimed. The
\var
{
desc
}
argument can be used to pass extra callback data for the
...
...
@@ -4669,11 +4669,11 @@ implementing new object types in C.
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyObject
_
Init
}{
PyObject *op,
PyTypeObject *type
}
PyTypeObject *type
}
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyVarObject*
}{
PyObject
_
InitVar
}{
PyVarObject *op,
PyTypeObject *type, int size
}
PyTypeObject *type, int size
}
\end{cfuncdesc}
\begin{cfuncdesc}
{
\var
{
TYPE
}
*
}{
PyObject
_
New
}{
TYPE, PyTypeObject *type
}
...
...
@@ -4917,6 +4917,6 @@ The function cannot fail.
\chapter
{
Reporting Bugs
}
\input
{
reportingbugs
}
\input
{
api.ind
}
% Index -- must be last
\input
{
api.ind
}
% Index -- must be last
\end{document}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment