Skip to content

Commit

Permalink
Fix for python module: #46
Browse files Browse the repository at this point in the history
  • Loading branch information
lexus2k committed Jul 25, 2024
1 parent 7f56781 commit 5d1716c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static PyMethodDef tinyproto_methods[] = {{"pants", pants, METH_VARARGS, "Return
static struct PyModuleDef tinyproto_definition = {PyModuleDef_HEAD_INIT, "tinyproto_", "A Python tiny protocol module",
-1, tinyproto_methods};

PyMODINIT_FUNC PyInit_tinyproto_(void)
PyMODINIT_FUNC PyInit_tinyproto(void)
{
Py_Initialize();
PyObject *m = PyModule_Create(&tinyproto_definition);
Expand Down

0 comments on commit 5d1716c

Please sign in to comment.