plugins/python: add missing annotations to help cpychecker

This commit is contained in:
Robert Manner
2020-02-13 17:31:27 +01:00
committed by Todd C. Miller
parent 43e256e34f
commit b2ae79c2be
2 changed files with 2 additions and 0 deletions

View File

@@ -502,6 +502,7 @@ cleanup:
debug_return_ptr(py_class);
}
CPYCHECKER_STEALS_REFERENCE_TO_ARG(3)
void
sudo_module_register_enum(PyObject *py_module, const char *enum_name, PyObject *py_constants_dict)
{