help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Insert function descriptor


From: Kal
Subject: Insert function descriptor
Date: Fri, 04 Aug 2006 13:24:15 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060728)

Hello,

When I write a function in C, I write it like this :

/* ---------------------------------------------------------------------
   accind_ouvriraux()
   ---------------------------------------------------------------------
   Build file name and call fopen()
   ---------------------------------------------------------------------
   I : Char pointer
   I : Char pointer
   O : File pointer
   --------------------------------------------------------------------- */
static FILE *
accind_ouvriraux(char *prefixe, char *suffixe);

My wish is to get the header description automatically. One way to do it
is mapping a key sentence (expl : C-F1) to a lisp function which ask the
name for the function :

Name of the function : toto

And build after that the header :

/* ---------------------------------------------------------------------
   toto()
   ---------------------------------------------------------------------
   Description :
   ---------------------------------------------------------------------
   I :
   O :
   --------------------------------------------------------------------- */

Is it possible ?

-- 
Kal


reply via email to

[Prev in Thread] Current Thread [Next in Thread]