Sunday, August 7, 2011

Re: function name to protoype

Hello,

"sinbad" wrote:
> is it possible to get the complete protoype of a c function
> in vim using cscope and ctags. basically i want to write a
> vim function which takes c function name as input and
> returns it's complete prototype. help!

I'm not sure what you exactly want to achieve as the tags base shall (if correctly configured) have the function signature -- only the return type is missing.

Could my function lh#dev#c#_prototype() [1] answer your need ?


[1] http://code.google.com/p/lh-vim/source/browse/dev/trunk/autoload/lh/dev/c/function.vim#105

--
Luc Hermitte
http://lh-vim.googlecode.com/
http://hermitte.free.fr/vim/

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: