Subj : CVS commit src/xpdev/genpack.pl To : All From : deuce Date : Fri Jun 10 2005 07:57 pm src/xpdev genpack.pl NONE 1.1 Update of /cvsroot/sbbs/src/xpdev In directory cvs.synchro.net:/tmp/cvs-serv21467 Added Files: genpack.pl Log Message: Add stupendously usefull perl script... takes an input header which contains structs made up of only the types char, INT16, WORD, INT32, DWORD, structs, and floats and generates both a header and C source file which will pack and unpack the structure to/from a buffer in a cross-platform manner. NOTE: Currently, xpdev only defines the char, WORD, and DWORD types. INT16 actually conflicts with an existing macro. (For interrupt 16) .