| |    | 85019 packages online | 
 | 
|  | 
| 
 | 
| dev/c/CalcStruct10.lha |  |  | | No screenshot available | 
| Short: | Calculate the size of C structures in .h files |  | Author: | schettler  informatik.fh-wuerzburg.de (Michael Schettler) |  | Uploader: | schettler informatik fh-wuerzburg de |  | Type: | dev/c |  | Version: | 1.0 |  | Architecture: | m68k-amigaos |  | Date: | 1996-12-10 |  
| Download: | dev/c/CalcStruct10.lha - View contents |  | Readme: | dev/c/CalcStruct10.readme |  | Downloads: | 1572 |  
 |  | COPYRIGHT
The executable  and  the  documentation  are  copyright  1996  by  Michael
Schettler.
INTRODUCTION
This is just a small (cli only) tool i hacked together  to  calculate  the
size of C structures contained in .h files.
USAGE
CLI> calcstruct ?
   FILE/A,CHECK/K/S
   FILE/A        - the name of the include file
   CHECK/K/S     - check the syntax and only output the size
LIMITATIONS
Until now, all #??????  directives,  especially  #include,  and  structure
union's aren't implemented :(
If you have your structure definitions splattered all over the place,  you
have to generate a big .h file, where every structure is included.
If you include system structures, why not define a  dummy  structure,  for
example
    STRUCT MsgPort {
	CHAR    dummy[34];
    };
to get the *real* size of your structure.
Arrays are limited to two dimensions, for example
    CHAR Data[10][10]
is o.k. but
    CHAR Data[10][10][10]
isn't implemented (if someone needs this, contact me).
AUTHOR
You can contact me (bug reports, flames, ...) at
	schettler@informatik.fh-wuerzburg.de
	which is my account at the university, where i study
	computer science
	or at
	twd@incubus.franken.de
	which is my account at my favorite bbs (not so often checked!)
If you like to have the source (which is in assembler), you can also
contact me (maybe i'll give it to you, although its a bit of a mess)
AMIGA FOREVER!
 |  | 
 Contents of dev/c/CalcStruct10.lha
  PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2454    3792  64.7% -lh5- 737b Dec  8  1996 CalcStruct10/CalcStruct
[generic]                  883    1644  53.7% -lh5- c549 Dec  8  1996 CalcStruct10/CalcStruct.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3337    5436  61.4%            Dec  9  1996
 | 
 |  | 
|  | 
| Page generated in 0.03 seconds | 
| Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet  aminet net> |