mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
#12670: Fix struct code after forward declaration on ctypes doc
This commit is contained in:
parent
ef5c716176
commit
692dba244b
1 changed files with 2 additions and 2 deletions
|
|
@ -865,10 +865,10 @@ later::
|
|||
|
||||
struct cell; /* forward declaration */
|
||||
|
||||
struct {
|
||||
struct cell {
|
||||
char *name;
|
||||
struct cell *next;
|
||||
} cell;
|
||||
};
|
||||
|
||||
The straightforward translation into ctypes code would be this, but it does not
|
||||
work::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue