home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / MacApp / MacApp 3.0a2 / Libraries / Memory.r < prev    next >
Encoding:
Text File  |  1991-05-01  |  1.7 KB  |  112 lines  |  [TEXT/MPS ]

  1. /*
  2.     Memory.r
  3.     MacApp® Memory management Resources
  4.     Copyright © 1986-1990 Apple Computer, Inc.    All rights reserved.
  5. */
  6.  
  7. /* • Auto-Include the requirements for this source */
  8. #ifndef __TYPES.R__
  9. #include "Types.r"
  10. #endif
  11.  
  12. #ifndef __MacAppTypes__
  13. #include "MacAppTypes.r"
  14. #endif
  15.  
  16. #ifndef __ViewTypes__
  17. #include "ViewTypes.r"
  18. #endif
  19.  
  20. /* memory stuff */
  21. resource 'mem!' (kBaseMacApp,
  22. #if qNames
  23.     "BaseMacApp",
  24. #endif
  25.     purgeable) {
  26.     4096,                // Add to temporary reserve
  27.     4096,                // Add to permanent reserve
  28.     8192                // Add to stack space (actually this first one sets the base stack requirement
  29.                         // to be the same as for a Macintosh® Plus.
  30. };
  31.  
  32. /* memory stuff */
  33. resource 'mem!' (kReservedForCommands,
  34. #if qNames
  35.     "ReservedForCommands",
  36. #endif
  37.     purgeable) {
  38.     128,                // Add to temporary reserve
  39.     0,                    // Add to permanent reserve
  40.     0                    // Add to stack space
  41. };
  42.  
  43.  
  44. resource 'seg!' (kBaseMacApp,
  45. #if qNames
  46.     "BaseMacApp",
  47. #endif
  48.     purgeable) {
  49.     {    "Main";
  50.         "MAMain";
  51.         "GMain";
  52.         "GRes";
  53.         "GRes2";
  54.         "GRes3";
  55.         "GRes4";
  56.         "ARes";
  57.         "BBRes";
  58.         "BBRes2";
  59.         "%_MethTables";
  60.         "GError";
  61.         "STDCLIB";
  62.         "PASLIB";
  63.         "32-bit bootstrap";
  64. #if qInspector && !qDebug
  65.         "GDebug";
  66.         "GInspector";
  67.         "GWriteLn";
  68.         "AFields";
  69.         "BBFields";
  70.         "GFields"
  71. #endif
  72. #if qPerform
  73.         "GPerformanceTools";
  74. #endif
  75.     };
  76. };
  77.  
  78. resource 'res!' (kBaseMacApp,
  79. #if qNames
  80.     "BaseMacApp",
  81. #endif
  82.     purgeable) {
  83.     {    "Main";
  84.         "MAMain";
  85.         "GMain";
  86.         "GRes";
  87.         "GRes2";
  88.         "GRes3";
  89.         "GRes4";
  90.         "ARes";
  91.         "BBRes";
  92.         "BBRes2";
  93.         "%_MethTables";
  94.         "GError";
  95.         "STDCLIB";
  96.         "PASLIB";
  97.         "32-bit bootstrap";
  98. #if qInspector && !qDebug
  99.         "GDebug";
  100.         "GInspector";
  101.         "GWriteLn";
  102.         "AFields";
  103.         "BBFields";
  104.         "GFields"
  105. #endif
  106. #if qPerform
  107.         "GPerformanceTools";
  108. #endif
  109.     };
  110. };
  111.  
  112.