Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
71bbce90
Commit
71bbce90
authored
Jul 17, 2014
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no need to forward declare extension types
parent
7c7cc9da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
docs/src/userguide/extension_types.rst
docs/src/userguide/extension_types.rst
+1
-10
No files found.
docs/src/userguide/extension_types.rst
View file @
71bbce90
...
@@ -404,16 +404,7 @@ Forward-declaring extension types
...
@@ -404,16 +404,7 @@ Forward-declaring extension types
===================================
===================================
Extension types can be forward-declared, like :keyword:`struct` and
Extension types can be forward-declared, like :keyword:`struct` and
:keyword:`union` types. This will be necessary if you have two extension types
:keyword:`union` types. This is usually necessary.
that need to refer to each other, e.g.::
cdef class Shrubbery # forward declaration
cdef class Shrubber:
cdef Shrubbery work_in_progress
cdef class Shrubbery:
cdef Shrubber creator
If you are forward-declaring an extension type that has a base class, you must
If you are forward-declaring an extension type that has a base class, you must
specify the base class in both the forward declaration and its subsequent
specify the base class in both the forward declaration and its subsequent
...
...
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