Commit ade73475 authored by dcw's avatar dcw

added findnthparam;

added prototype rebuild stuff in a comment (for cutting and pasting);
added decln, param and shape.
parent a2836d6d
...@@ -69,28 +69,44 @@ struct declnlist { ...@@ -69,28 +69,44 @@ struct declnlist {
}; };
typedef declnlist decln; /* JUST THE FIRST */
typedef shapelist shape; /* JUST THE FIRST */
typedef paramlist param; /* JUST THE FIRST */
/*
/^#ifdef HASPROTOS
!/endif$
prot %
*/
#ifdef HASPROTOS #ifdef HASPROTOS
extern declnlist build_declnlist( char * , shapelist , declnlist ); extern declnlist build_declnlist( char * , shapelist , declnlist );
extern void print_declnlist( declnlist ); extern void print_declnlist( declnlist );
extern shapelist build_shapelist( char * , paramlist , printlist , shapelist ); extern shapelist build_shapelist( char * , paramlist , printlist , shapelist );
extern void print_shape( shapelist );
extern void print_shapelist( shapelist ); extern void print_shapelist( shapelist );
extern paramlist build_paramlist( char * , char * , paramlist ); extern paramlist build_paramlist( char * , char * , paramlist );
extern void print_paramlist( paramlist ); extern void print_paramlist( paramlist );
extern printlist build_printlist( printitem , printlist );
extern void print_printlist( printlist );
extern printitem build_printitem_str( char * ); extern printitem build_printitem_str( char * );
extern printitem build_printitem_num( int ); extern printitem build_printitem_num( int );
extern void print_printitem( printitem ); extern void print_printitem( printitem );
extern printlist build_printlist( printitem , printlist );
extern void print_printlist( printlist );
extern param findnthparam( int , paramlist , char * , char * );
#else #else
extern declnlist build_declnlist(); extern declnlist build_declnlist();
extern void print_declnlist(); extern void print_declnlist();
extern shapelist build_shapelist(); extern shapelist build_shapelist();
extern void print_shape();
extern void print_shapelist(); extern void print_shapelist();
extern paramlist build_paramlist(); extern paramlist build_paramlist();
extern void print_paramlist(); extern void print_paramlist();
extern printlist build_printlist();
extern void print_printlist();
extern printitem build_printitem_str(); extern printitem build_printitem_str();
extern printitem build_printitem_num(); extern printitem build_printitem_num();
extern void print_printitem(); extern void print_printitem();
extern printlist build_printlist();
extern void print_printlist();
extern param findnthparam();
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment