Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 940786e

Browse files
committed
Convert from C++ to C
1 parent 1cec153 commit 940786e

6 files changed

Lines changed: 935 additions & 987 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ build
77
*.dSYM
88
*.npz
99
.DS_Store
10+
.*.swp

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
all: rational.so
22

3-
rational.so: rational.cpp
3+
rational.so: rational.c
44
python setup.py build
55
cp build/lib.*/rational.so .
66

0 commit comments

Comments
 (0)