[comp.sys.mac] Toolbox calls from LightSpeed C version 2.01

denbeste@bgsuvax.UUCP (03/25/87)

I recieved LightspeedC version 2.01 in the mail about a month ago, but have
just now found the {time, need} to use it.  In the release notes, It talks
about function prototypes.  Basicically, they permit you to specify what the
type of each argument is (such as char or *int).  Being an old hand at pascal,
but relatively new to both C and the macintosh, I see that this could really
help prevent some of the errors that I hvae created by passsing the toolbox
bad parameters.  Unfortunately, Think Technologies did not include the
prototype information for the toolbox calls.  They do mention that you can 
specify prototypes for the toolbox calls (ie in a header file), and it will
use them.  I could write these, but I am not sure if I want to go to the effort
or if I would ever get around to it.  Has anyone on the net created these
headers, either in part or in whole?  Please let me know if you have, since
reinventing the wheel is no fun.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Wiliam C. DenBesten             |        ... !osu-eddie!bgsuvax!denbeste  UUCP
Dept of Computer Science        | denbeste%research1.bgsu.edu@csnet-relay ARPA
Bowling Green State University  |            denbeste@research1.bgsu.edu  CSNET
Bowling Green, OH 43403-0214    |                   #include <std.disclaimer.h>
--------------------------------+----------------------------------------------
There is no difference between theory and practice in theory, but there is
often a great deal of difference between theory and practice in practice.