| |    | 85019 packages online | 
 | 
|  | 
| 
 | 
| dev/misc/MakePROTO.lha |  |  | | No screenshot available | 
| Short: | More flexible replacement for MakeProto (DICE-C) |  | Author: | tcn  techbase.in-berlin.de (Timo C. Nentwig) |  | Uploader: | tcn techbase in-berlin de (Timo C  Nentwig) |  | Type: | dev/misc |  | Architecture: | m68k-amigaos |  | Date: | 1996-04-16 |  
| Download: | dev/misc/MakePROTO.lha - View contents |  | Readme: | dev/misc/MakePROTO.readme |  | Downloads: | 1569 |  
 |  | 
  MakePROTO is a simple but useful tool written on a  boring  evening.
  It automatically creates a prototype file for the given C-Source(s).
  Is does basicly the same as DICE's  MakeProto  does  but  it's  more
  flexible so you can e.g. use it with SAS/C, too (like I do ...).
  Usage:
  ¯¯¯¯¯
  You add prototype lines in the considering source(s) beginning  with
  a special keyword, e.g.:
                   PROTO BOOL MakeDir (STRPTR name);
                                   or
                 Prototype BOOL MakeDir (STRPTR name);
  Now you call MakePROTO with
         MakePROTO <file/pattern> PROTOKEYWORD proto/prototype
  and MakePROTO prints a useable prototype file listing (use a pipe to
  direct it in a file).
  SMakeFile:
  ¯¯¯¯¯¯¯¯¯
  [...]
  proto:
      @-delete include/bg_protos.h       >NIL:
      @-echo noline "*E[2m    Making protos ... "
      @-MakePROTO F *.c PK PROTO DT CPP >>include/bg_protos.h
      @-echo "DONE*E[0m"
  [...]
  Arguments:
  ¯¯¯¯¯¯¯¯¯
  F=FILES/M/A       -> File(s) or pattern(s) to be scanned
  PK=PROTOKEYWORD/K -> Keyword, see above (= "PROTO" or "Prototype")
  DT=DEFINETYPE/S   -> SAS/C does not have it's own reserved word for
                       prototypes like DICE so you might use e.g.
                       "PROTO".
                       This options adds a
                       #define    <your_keyword>    <replacetype>
                       at the beginning of the file.
  CPP/S             -> Produce C++ comments
  STATIC/S          -> For DEFINETYPE: <replacetype> is "static"
                       otherwiese it is "extern".
  C-Source is included.
 |  | 
 Contents of dev/misc/MakePROTO.lha
  PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4786    7264  65.9% -lh5- 4851 Apr  8  1996 MakePROTO/MakePROTO
[generic]                 2450    8333  29.4% -lh5- bd17 Apr  8  1996 MakePROTO/MakePROTO.c
[generic]                  884    1667  53.0% -lh5- 00f5 Apr  8  1996 MakePROTO/MakePROTO.info
[generic]                   66      72  91.7% -lh5- 4194 Apr  8  1996 MakePROTO/MakePROTO.lnk
[generic]                 1218    1888  64.5% -lh5- 5947 Apr  8  1996 MakePROTO/MakePROTO.o
[generic]                  862    1833  47.0% -lh5- 081a Apr  8  1996 MakePROTO/MakePROTO.readme
[generic]                  136     188  72.3% -lh5- 351a Apr  8  1996 MakePROTO/smakefile
[generic]                 1098    1574  69.8% -lh5- d538 Apr  8  1996 MakePROTO/smakefile.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         8 files   11500   22819  50.4%            Apr 16  1996
 | 
 |  | 
|  | 
| Page generated in 0.01 seconds | 
| Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet  aminet net> |