9.2.2.2 builtin.c amp

back: sic.c & sic.h
forward: eval.c & eval.h
 
fastback: eval.c & eval.h
up: library implementation
fastforward: beginnings of a configure.in for small project
top: autoconf, automake, and libtool
contents: table of contents
index: index
about: about this document

9.2.2.2 `builtin.c' & `builtin.h'

Here are the functions for managing tables of builtin commands in each Sic structure:

 
 typedef int (*builtin_handler) (Sic *sic,                                 int argc, char *const argv[]); typedef struct {   const char *name;   builtin_handler func;   int min, max; } Builtin; typedef struct builtintab BuiltinTab; extern Builtin *builtin_find (Sic *sic, const char *name); extern int builtin_install   (Sic *sic, Builtin *table); extern int builtin_remove    (Sic *sic, Builtin *table); 

This document was generated by Gary V. Vaughan on May, 24 2001 using texi2html


GNU Autoconf, Automake and Libtool
GNU Autoconf, Automake, and Libtool
ISBN: 1578701902
EAN: 2147483647
Year: 2002
Pages: 290

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net