HOME | Research | Media | Careers | Contacts | Products | Search | Publications | Site Map
CSIRO Mathematics, Informatics and Statistics

 

 

Image Analysis
Biotech Imaging Group
Application Areas
 Biotechnology
 Cellular Screening
 Health
 Asset Monitoring
 Exploration
 Other Areas
Skills
 Segmentation
 Feature Extraction
 Statistical Analysis
 Stereo Vision
 Image Motion
 
Projects
Imaging Services
Imaging Products
Track Record
Publications
Patents
Staff
next up previous contents
Next: Automatic generation of LIAR Up: LIAR GNU Emacs macros Previous: LIAR GNU Emacs macros

Automatic prototyping

You 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

© Copyright 2013, CSIRO Australia
Use of this web site and information available from
it is subject to our
Legal Notice and Disclaimer and Privacy Statement