test_docstring_options.cpp
2.46 KB
-
fix: do not set docstring for function when empty (#2745) · d587a2fd
* Do not set docstring for function when it's empty * No need to check pointer for `free` * Use ternary operator to conditionally set `ml_doc`
Qifan Lu committed