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
0f1a5eb3
Commit
0f1a5eb3
authored
Mar 01, 2014
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #277 from Hinogary/master
some minor changes
parents
2793297b
b6549951
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
1 deletion
+9
-1
Cython/Distutils/build_ext.py
Cython/Distutils/build_ext.py
+2
-0
Cython/Includes/libc/stdio.pxd
Cython/Includes/libc/stdio.pxd
+1
-1
Cython/Includes/libcpp/vector.pxd
Cython/Includes/libcpp/vector.pxd
+4
-0
docs/src/reference/language_basics.rst
docs/src/reference/language_basics.rst
+1
-0
setup.py
setup.py
+1
-0
No files found.
Cython/Distutils/build_ext.py
View file @
0f1a5eb3
...
...
@@ -291,6 +291,8 @@ class build_ext(_build_ext.build_ext):
for
source
in
cython_sources
:
target
=
cython_targets
[
source
]
depends
=
[
source
]
+
list
(
extension
.
depends
or
())
if
(
source
[
-
4
:].
lower
()
==
".pyx"
and
os
.
path
.
isfile
(
source
[:
-
3
]
+
"pxd"
)):
depends
+=
[
source
[:
-
3
]
+
"pxd"
]
rebuild
=
self
.
force
or
newer_group
(
depends
,
target
,
'newer'
)
if
not
rebuild
and
newest_dependency
is
not
None
:
rebuild
=
newer
(
newest_dependency
,
target
)
...
...
Cython/Includes/libc/stdio.pxd
View file @
0f1a5eb3
...
...
@@ -77,4 +77,4 @@ cdef extern from "stdio.h" nogil:
int
fputc
(
int
c
,
FILE
*
stream
)
int
putc
(
int
c
,
FILE
*
stream
)
size_t
getline
(
char
**
lineptr
,
size_t
*
n
,
FILE
*
stream
)
Cython/Includes/libcpp/vector.pxd
View file @
0f1a5eb3
...
...
@@ -70,3 +70,7 @@ cdef extern from "<vector>" namespace "std":
void
resize
(
size_t
,
T
&
)
nogil
size_t
size
()
nogil
void
swap
(
vector
&
)
nogil
#C++0x methods
T
*
data
()
nogil
void
shrink_to_fit
()
docs/src/reference/language_basics.rst
View file @
0f1a5eb3
...
...
@@ -132,6 +132,7 @@ The ``cdef`` statement is used to make C level declarations for:
cdef struct Grail:
int age
float volume
..note Struct can be ``packed``, which have same effect as C directive ``#pragma pack(1)``.
:Unions:
...
...
setup.py
100644 → 100755
View file @
0f1a5eb3
#!/usr/bin/env python
try
:
from
setuptools
import
setup
,
Extension
except
ImportError
:
...
...
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