mirror of https://github.com/python/cpython
#12670: Fix struct code after forward declaration on ctypes doc
This commit is contained in:
parent
22a7b488e0
commit
25fb852e55
|
@ -869,10 +869,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…
Reference in New Issue