回答編集履歴
1
ファイル名を追加
answer
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
```c
|
4
4
|
/*
|
5
|
+
* c_mod.c
|
5
6
|
* gcc -shared -o c_mod c_mod.c `python-config --cflags --ldflags`
|
6
7
|
*/
|
7
8
|
#include <Python.h>
|
@@ -26,7 +27,7 @@
|
|
26
27
|
```
|
27
28
|
|
28
29
|
```python
|
29
|
-
|
30
|
+
# py_mod.py
|
30
31
|
# coding: utf-8
|
31
32
|
|
32
33
|
from c_mod import *
|