genproto 0.4.1 review

Download
by rbytes.net on

genproto generates prototypes from C/C++ code

License: Freely Distributable
File size: 26K
Developer: Freek
0 stars award from rbytes.net

genproto generates prototypes from C/C++ code. It does not touch the original files, and the output format can be changed via printf-style format strings.

Unlike cproto it does not rely on external programms, such as gcc or cpp.

Example

me@home:~/src/genproto-0.2> ./genproto main.c
/* generated by genproto */

void Usage(char *name);
char * CharCopy(char *buf, int len);
char * AddTokens(char **TokenList, int FirstToken, int LastToken);
void AddPrototype(char **TokenList, int ClassNamePos, int FunctionNamePos, int ParamPos);
void ScanOneFile(void);
void SortPrototypes(struct function **T, int Gauche, int Droite);
void Swap(struct function **T, int i, int j);
int CompareFunctions(struct function *pF1, struct function *pF2);
void CopyListToTable(void);
void PrintOnePrototype(struct function *pF);
void PrintPrototypes(void);
void DeletePrototypes(void);
void MyExit(void);
void * MyAlloc(size_t size);
int main(int argc, char **argv);

genproto 0.4.1 search tags