PageRenderTime 48ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. /* File : example.i */
  2. %module example
  3. %{
  4. #include "example.h"
  5. %}
  6. /* %feature("docstring") has to come before the declaration of the method to
  7. * SWIG. */
  8. %feature("docstring") Foo::bar "No comment"
  9. /* Let's just grab the original header file here */
  10. %include "example.h"