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

@@ -52,6 +52,7 @@ void python_plugin_deinit(struct PluginContext *plugin_ctx);
int python_plugin_show_version(struct PluginContext *plugin_ctx,
const char *python_callback_name, int isVerbose);
CPYCHECKER_STEALS_REFERENCE_TO_ARG(3)
void python_plugin_close(struct PluginContext *plugin_ctx, const char *callback_name,
PyObject *py_args);