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
c759fab3
Commit
c759fab3
authored
Mar 28, 2016
by
Phil Austin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting tweaks
parent
5d2dc47e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Demos/Makefile
Demos/Makefile
+1
-0
Demos/callback/cheese.pyx
Demos/callback/cheese.pyx
+1
-2
No files found.
Demos/Makefile
View file @
c759fab3
...
...
@@ -7,6 +7,7 @@ test: all
python run_spam.py
python integrate_timing.py
cd
callback
;
$(MAKE)
test
cd
embed;
$(MAKE)
test
clean
:
@
echo
Cleaning Demos
...
...
Demos/callback/cheese.pyx
View file @
c759fab3
...
...
@@ -10,6 +10,5 @@ def find(f):
find_cheeses
(
callback
,
<
void
*>
f
)
cdef
void
callback
(
char
*
name
,
void
*
f
):
the_name
=
<
bytes
>
name
(
<
object
>
f
)(
the_name
.
decode
(
'utf-8'
))
(
<
object
>
f
)(
name
.
decode
(
'utf-8'
))
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