1

Suppose i have this line of code presenting a C function prototype:

int sum_Func(int a, int *b)

I want an Emacs lisp function that adds the function description (initialization) according to its elements:

    /**
    *sum_func-
    *@a:
    *@b:
    *Return:
    */
    int sum_Func(int a, int *b)

I'm new to Emacs.I tried to accomplish that with recording a macro but the function 's number of arguments is not fixed,which it makes a lisp function more suitable for the task.

Muihlinn
  • 2,576
  • 1
  • 14
  • 22
Ghost_tn
  • 11
  • 2
  • 1
    Elisp tag doesn't apply here. Please read [Elisp tag info](https://emacs.stackexchange.com/tags/elisp/info) – Muihlinn May 14 '20 at 08:45
  • [Doxymacs](https://sourceforge.net/projects/doxymacs/) did that , although is quite old now. – Muihlinn May 14 '20 at 09:11

0 Answers0