all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Insert function descriptor
@ 2006-08-04 11:24 Kal
  2006-08-06  9:21 ` wenbinye
  0 siblings, 1 reply; 3+ messages in thread
From: Kal @ 2006-08-04 11:24 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-06 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-04 11:24 Insert function descriptor Kal
2006-08-06  9:21 ` wenbinye
2006-08-06 16:02   ` Kal

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.