PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/python/docstrings/example.i

#
Swig | 14 lines | 6 code | 4 blank | 4 comment | 0 complexity | bb05b2e34aec325f8d49a3b44810b38e MD5 | raw file
 1/* File : example.i */
 2%module example
 3
 4%{
 5#include "example.h"
 6%}
 7
 8/* %feature("docstring") has to come before the declaration of the method to
 9 * SWIG. */
10%feature("docstring") Foo::bar "No comment"
11
12/* Let's just grab the original header file here */
13%include "example.h"
14