Skip to content

Commit

Permalink
Mark inline function as static inline or debug build would not link
Browse files Browse the repository at this point in the history
  • Loading branch information
igo95862 committed Jun 13, 2022
1 parent bd80101 commit 3ae81fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdbus/sd_bus_internals_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static void SdBusInterface_dealloc(SdBusInterfaceObject* self) {
SD_BUS_DEALLOC_TAIL;
}

inline int _check_callable_or_none(PyObject* some_object) {
static inline int _check_callable_or_none(PyObject* some_object) {
return PyCallable_Check(some_object) || (Py_None == some_object);
}

Expand Down

0 comments on commit 3ae81fc

Please sign in to comment.