Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 022f9f5

Browse files
committed
heap: fix C-signature
1 parent 7827a2c commit 022f9f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static PyMethodDef* _gopy_malloc_PyMethodDefArray(size_t n) {
1616
return (PyMethodDef*)malloc(n * sizeof(PyMethodDef));
1717
}
1818
19-
static _gopy_set_PyMethodDef(PyMethodDef *array, int i, PyMethodDef *o) {
19+
static void _gopy_set_PyMethodDef(PyMethodDef *array, int i, PyMethodDef *o) {
2020
array[i] = *o;
2121
}
2222
*/

0 commit comments

Comments
 (0)