logo       

Re: how to use the autodoc feature of new swig-1.3.22?: msg#00079

programming.swig

Subject: Re: how to use the autodoc feature of new swig-1.3.22?

Bo Peng wrote:
Dear list,

I applied the docstring patch. '%feature("autodoc",1");' is working as expected but I am not sure how to attach a string to a specific function when namespace and templates are involved. For example, class A is a template class in namespace N, is node name for function func 'N::A::func'? I find that %ignore N::A::somefunc;
works fine but
%feature("docstring","some doc") N::A::func;
does not work.

Try it like this:

%feature("docstring") N::A::func "some doc";

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise