CSIRO Mathematics, Informatics and Statistics
|
|
|
Next: Automatic generation of LIAR Up: LIAR GNU Emacs macros Previous: LIAR GNU Emacs macros
Automatic prototypingYou can generate a list of prototypes for include files and for documentation purposes using the getprototypes and insertprototypes LIAR Emacs macros. The getprototypes macro will get all the C prototypes from the current Emacs buffer. Usage: M-x getprototypes<CR>Then to insert the prototypes into a file, such as liar.h, just move the Emacs block cursor to the buffer where the file is loaded, position the Emacs cursor at the insertion point and issue the following command: M-x insertprototypes<CR>
Because of the restricted nature of the LIAR Emacs
macros, each C function definition must be according to the LIAR
standard.
Ed Breen Tue Sep 3 17:19:31 EST 1996 |