python/perl: support global hooks #45

Open
opened 2026-10-05 03:55:37 +02:00 by adam · 1 comment
Owner

They don't support module hooks of global modules, such as OnModuleUnloading.
For python, except adding them to module.h, functions.in and znc.py, need to fix codegen.pl to check if GetUser() returned NULL when reporting an error.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/697-python-perl-support-global-hooks?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
They don't support module hooks of global modules, such as OnModuleUnloading. For python, except adding them to module.h, functions.in and znc.py, need to fix codegen.pl to check if GetUser() returned NULL when reporting an error. ## <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/697-python-perl-support-global-hooks?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:2695427 -->
Author
Owner

For proper support of global hooks in perl we need better support of std::map and std::set in SWIG.
Currently there is not set at all, and map is not iteratible.

For proper support of global hooks in perl we need better support of std::map and std::set in SWIG. Currently there is not set at all, and map is not iteratible. <!-- github-comment-id:7619751 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#45