Path: utzoo!attcan!uunet!ginosko!brutus.cs.uiuc.edu!apple!dlyons
From: dlyons@Apple.COM (David Lyons)
Newsgroups: comp.sys.apple
Subject: Re: MPW IIGS C? (AllocGen parameters)
Message-ID: <35075@apple.Apple.COM>
Date: 27 Sep 89 23:42:56 GMT
References: <8909271735.aa08933@SMOKE.BRL.MIL>
Organization: Apple Computer Inc, Cupertino, CA
Lines: 21

In article <8909271735.aa08933@SMOKE.BRL.MIL> MMPR004@ECNCDC.BITNET (Scott Hutinger) writes:
>This seems to be the problem.  If AllocGen is called in this manner,
>junk()
>{
> Word genNum;
> genNum=AllocGen(0,64);  /* got me, the headers look void to me */
>}

I can't account offhand for the apparent difference between APW and MPW,
but AllocGen is only supposed to have one parameter!  Give that a shot.
(The single parameter is the priority you're requesting.  If it's
documented wrong someplace, point me at it.)
-- 

 --Dave Lyons, Apple Computer, Inc.          |   DAL Systems
   AppleLink--Apple Edition: DAVE.LYONS      |   P.O. Box 875
   America Online: Dave Lyons                |   Cupertino, CA 95015-0875
   GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
   Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons

   My opinions are my own, not Apple's.