mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
514 B
514 B
HOW-TO
How to add new module?
We use the "zzz" placeholder for a module name in this "how-to".
- create file swig/zzz.i
%{
#include <zzz.hpp>
%}
%include "zzz.hpp"
-
add zzz to the
MODULES_NAMESvar in makefile -
add a line to python/idc.py if you want to autoload this module
import ida_zzz
-
build
-
update the content of api_contents.txt (from obj/.../api_contents.txt.new)
-
rebuild
-
update the content of pydoc_injections.txt (from obj/.../pydoc_injections.txt)