Skip to content
Prev Previous commit
Next Next commit
Use snake_case
  • Loading branch information
iccir committed Jul 28, 2026
commit 22e92ce07846e2a20c33568d50b49b22d24d2216
4 changes: 2 additions & 2 deletions src/_c_internal_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ mpl_display_is_valid(void)
}

static py::object
mpl_GetAvailableFonts(void)
mpl_get_available_fonts(void)
{
#if defined(__APPLE__)
py::set fonts;
Expand Down Expand Up @@ -271,7 +271,7 @@ PYBIND11_MODULE(_c_internal_utils, m, py::mod_gil_not_used())

On other platforms, always returns True.)""");
m.def(
"get_available_fonts", &mpl_GetAvailableFonts,
"get_available_fonts", &mpl_get_available_fonts,
R"""( --
On macOS, uses CoreText to find all fonts available to the current
process and returns the paths as a set of strings.
Expand Down