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
cee555bd
Commit
cee555bd
authored
Aug 01, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow compilation by K&R C compiler.
parent
42dcad36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Objects/cobject.c
Objects/cobject.c
+8
-8
No files found.
Objects/cobject.c
View file @
cee555bd
...
...
@@ -32,13 +32,13 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
typedef
struct
{
PyObject_HEAD
void
*
cobject
;
void
(
*
destructor
)
(
void
*
);
void
(
*
destructor
)
Py_PROTO
((
void
*
)
);
}
PyCObject
;
PyObject
*
PyCObject_FromVoidPtr
(
cobj
,
destr
)
void
*
cobj
;
void
(
*
destr
)
(
void
*
);
void
(
*
destr
)
Py_PROTO
((
void
*
)
);
{
PyCObject
*
self
;
...
...
@@ -66,12 +66,12 @@ PyCObject_dealloc(self)
}
static
char
PyCObject_Type__doc__
[]
=
"C objects to be exported from one extension module to another
\n
"
"
\n
"
"C objects are used for communication between extension modules. They
\n
"
"provide a way for an extension module to export a C interface to other
\n
"
"extension modules, so that extension modules can use the Python import
\n
"
"
mechanism to link to one another.
\n
"
"C objects to be exported from one extension module to another
\n
\
\n
\
C objects are used for communication between extension modules. They
\n
\
provide a way for an extension module to export a C interface to other
\n
\
extension modules, so that extension modules can use the Python import
\n
\
mechanism to link to one another.
\n
"
;
PyTypeObject
PyCObject_Type
=
{
...
...
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