Skip to content

Commit

Permalink
Fix return type of PyInit_cdrizzle (#150)
Browse files Browse the repository at this point in the history
The return type of the init function is PyMODINIT_FUNC, not
PyMODINIT_FUNC*.
  • Loading branch information
olebole authored Jul 25, 2024
1 parent 9ecb4b7 commit dfdd16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdrizzleapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ static struct PyModuleDef moduledef = {
NULL
};

PyMODINIT_FUNC *PyInit_cdrizzle(void)
PyMODINIT_FUNC PyInit_cdrizzle(void)
{
PyObject *m;
m = PyModule_Create(&moduledef);
Expand Down

0 comments on commit dfdd16b

Please sign in to comment.