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
Boxiang Sun
cython
Commits
019017ae
Commit
019017ae
authored
Jan 19, 2012
by
Mark Florisson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ANSI C compatibility
parent
3738c6a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Cython/Compiler/Buffer.py
Cython/Compiler/Buffer.py
+1
-1
Cython/Utility/MemoryView_C.c
Cython/Utility/MemoryView_C.c
+3
-0
No files found.
Cython/Compiler/Buffer.py
View file @
019017ae
...
...
@@ -748,7 +748,7 @@ def get_type_information_cname(code, dtype, maxdepth=None):
typeinfo
=
(
'static __Pyx_TypeInfo %s = '
'{ "%s", %s, sizeof(%s), { %s }, %s,
\
'
%s
\
'
, %s, %s };'
)
tup
=
(
name
,
rep
,
structinfo_name
,
declcode
,
', '
.
join
([
str
(
x
)
for
x
in
arraysizes
]),
len
(
arraysizes
),
', '
.
join
([
str
(
x
)
for
x
in
arraysizes
])
or
'0'
,
len
(
arraysizes
),
typegroup
,
is_unsigned
,
flags
)
typecode
.
putln
(
typeinfo
%
tup
,
safe
=
True
)
...
...
Cython/Utility/MemoryView_C.c
View file @
019017ae
...
...
@@ -3,6 +3,8 @@
/* memoryview slice struct */
struct
{{
memview_struct_name
}};
typedef
struct
{
struct
{{
memview_struct_name
}}
*
memview
;
char
*
data
;
...
...
@@ -48,6 +50,7 @@ typedef struct {
#warning "Using Intel atomics"
#endif
#else
#undef CYTHON_ATOMICS
#define CYTHON_ATOMICS 0
#ifdef __PYX_DEBUG_ATOMICS
...
...
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