[comp.sys.apple] MPW IIGS C

MMPR004@ECNCDC.BITNET (Scott Hutinger) (09/28/89)

Well, no wonder...

42-21 says AllocGen = extern pascal Word AllocGen(requestPriority);

Now, since I was using genNum=AllocGen(0,64);  APW should probably crash,
but didn't.  I think I would crash too if I were given too many parameters!

Now, how come C headers don't have any type of parameters?  I think that
would probably help the compilers generate code, and help with ANSI C :-)

At least now I have NEW toolbox books, etc coming.  Mine are the original
11/86 books :-(

scott hutinger   mmpr004@ecncdc.bitnet

gwyn@smoke.BRL.MIL (Doug Gwyn) (09/28/89)

In article <8909272056.aa10990@SMOKE.BRL.MIL> MMPR004@ECNCDC.BITNET (Scott Hutinger) writes:
>Now, how come C headers don't have any type of parameters?

I don't know about MPW IIGS C, but APW C currently does not support
function prototypes.  ORCA/C does.