home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / oop / macapp3 / 230 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  926 b 

  1. Path: sparky!uunet!stanford.edu!apple!applelink.apple.com
  2. From: DIGIMATCH@AppleLink.Apple.COM (3M, Ran Bedekar,PRT)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re2: Stack size in MacApp
  5. Message-ID: <724548015.9470405@AppleLink.Apple.COM>
  6. Date: 16 Dec 92 23:14:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 24
  10.  
  11. Actually, you don't have to modify Memory.r in MacApp.  MacApp totals the
  12. values of all the 'mem!' resources in your application.  You can add to the
  13. temporary heap, the permanent heap, and the stack size by adding your own
  14. 'mem!' resource.
  15.  
  16. For example:
  17.     resource 'mem!' (1000,
  18.     #if qNames
  19.        "MoreMemory",
  20.     #endif
  21.        purgeable) {
  22.      temp,
  23.        perm,
  24.        stack
  25.     };
  26.  
  27. where:
  28.     temp = number of additional bytes of temporary heap
  29.     perm = number of additional bytes of permanent heap
  30.     stack = number of additional bytes of stack
  31.  
  32. Regards,
  33. Nick Nallick
  34.  
  35.