/trunk/Examples/python/docstrings/example.i
Swig | 14 lines | 6 code | 4 blank | 4 comment | 0 complexity | bb05b2e34aec325f8d49a3b44810b38e MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- /* File : example.i */
- %module example
- %{
- #include "example.h"
- %}
- /* %feature("docstring") has to come before the declaration of the method to
- * SWIG. */
- %feature("docstring") Foo::bar "No comment"
- /* Let's just grab the original header file here */
- %include "example.h"