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.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.