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
79bf99c5
Commit
79bf99c5
authored
Apr 09, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the \csimplemacro macro and the csimplemacrodesc environment.
parent
19f827e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
Doc/doc/doc.tex
Doc/doc/doc.tex
+20
-0
No files found.
Doc/doc/doc.tex
View file @
79bf99c5
...
...
@@ -549,6 +549,16 @@ This \UNIX\ is also followed by a space.
be used in the description.
\end{envdesc}
\begin{envdesc}
{
csimplemacrodesc
}{
\p
{
name
}}
Documentation for a ``simple'' macro. Simple macros are macros
which are used for code expansion, but which do not take
arguments so cannot be described as functions. This is not to
be used for simple constant definitions. Examples of it's use
in the Python documentation include
\csimplemacro
{
PyObject
_
HEAD
}
and
\csimplemacro
{
Py
_
BEGIN
_
ALLOW
_
THREADS
}
.
\end{envdesc}
\begin{envdesc}
{
ctypedesc
}{
\op
{
tag
}
\p
{
name
}}
Environment used to described a C type. The
\var
{
name
}
parameter should be the
\keyword
{
typedef
}
name. If the type is
...
...
@@ -735,6 +745,16 @@ This \UNIX\ is also followed by a space.
changed.
\end{macrodesc}
\begin{macrodesc}
{
csimplemacro
}{
\p
{
name
}}
The name of a ``simple'' macro. Simple macros are macros
which are used for code expansion, but which do not take
arguments so cannot be described as functions. This is not to
be used for simple constant definitions. Examples of it's use
in the Python documentation include
\csimplemacro
{
PyObject
_
HEAD
}
and
\csimplemacro
{
Py
_
BEGIN
_
ALLOW
_
THREADS
}
.
\end{macrodesc}
\begin{macrodesc}
{
ctype
}{
\p
{
name
}}
The name of a C
\keyword
{
typedef
}
or structure. For structures
defined without a
\keyword
{
typedef
}
, use
\code
{
\e
ctype
\{
struct
...
...
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