-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16461cf
commit c95a588
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
test_libraries/src_structure/src/example_lib/custom_includes.pyx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# distutils: language=c++ | ||
|
||
ctypedef long long int wide_int | ||
|
||
cdef extern from "something.cc" namespace "pyutil": | ||
cdef long long bwf(long long *b) | ||
cdef wide_int bwf(wide_int *b) | ||
|
||
cpdef long long bwfpy(long long b): | ||
cpdef wide_int bwfpy(wide_int b): | ||
return bwf(&b) |