Hello, after having had a little fight with Swig I decided that most propably nobody wants to have the documentation for overloaded typecast operators in python docstrings. Since they break swig/modulename_swig_doc.i, I chose to patch gr-howto-write-a-block/docs/doxygen/swig_doc.py
Hope you enjoy your days, Marcus Müller
diff --git a/gr-howto-write-a-block/docs/doxygen/swig_doc.py b/gr-howto-write-a-block/docs/doxygen/swig_doc.py index 5034099..5c71121 100644 --- a/gr-howto-write-a-block/docs/doxygen/swig_doc.py +++ b/gr-howto-write-a-block/docs/doxygen/swig_doc.py @@ -98,6 +98,8 @@ def make_entry(obj, name=None, templ="{description}", description=None): """ if name is None: name=obj.name() + if "operator " in name: + return '' if description is None: description = combine_descriptions(obj) docstring = templ.format(description=description)
_______________________________________________ Patch-gnuradio mailing list Patch-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/patch-gnuradio