diff options
| author | Gareth Rees | 2013-05-31 00:09:33 +0100 |
|---|---|---|
| committer | Gareth Rees | 2013-05-31 00:09:33 +0100 |
| commit | 934ae05ca3c40eb957d5815c666d6b1cfef98fe7 (patch) | |
| tree | 8c6a22ba92317a3b271ec70202a3e984757afd24 /mps/code/mpmtypes.h | |
| parent | caf194598595029b633efc74ea59c16124039a0e (diff) | |
| download | emacs-934ae05ca3c40eb957d5815c666d6b1cfef98fe7.tar.gz emacs-934ae05ca3c40eb957d5815c666d6b1cfef98fe7.zip | |
Rename the enumeration cbsfinddelete to finddelete in anticipation of it being shared between cbs and new freelist module.
Since ABQDisposition enumeration only has two values, it's better to use Bool.
Copied from Perforce
Change: 182347
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/mpmtypes.h')
| -rw-r--r-- | mps/code/mpmtypes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mps/code/mpmtypes.h b/mps/code/mpmtypes.h index e9797863bb8..49265c35a72 100644 --- a/mps/code/mpmtypes.h +++ b/mps/code/mpmtypes.h | |||
| @@ -109,6 +109,7 @@ typedef struct AllocPatternStruct *AllocPattern; | |||
| 109 | typedef struct AllocFrameStruct *AllocFrame; /* <design/alloc-frame/> */ | 109 | typedef struct AllocFrameStruct *AllocFrame; /* <design/alloc-frame/> */ |
| 110 | typedef struct ReservoirStruct *Reservoir; /* <design/reservoir/> */ | 110 | typedef struct ReservoirStruct *Reservoir; /* <design/reservoir/> */ |
| 111 | typedef struct StackContextStruct *StackContext; | 111 | typedef struct StackContextStruct *StackContext; |
| 112 | typedef unsigned FindDelete; /* <design/cbs/> */ | ||
| 112 | 113 | ||
| 113 | 114 | ||
| 114 | /* Arena*Method -- see <code/mpmst.h#ArenaClassStruct> */ | 115 | /* Arena*Method -- see <code/mpmst.h#ArenaClassStruct> */ |
| @@ -424,6 +425,17 @@ enum { | |||
| 424 | }; | 425 | }; |
| 425 | 426 | ||
| 426 | 427 | ||
| 428 | /* FindDelete operations -- see <design/cbs/> */ | ||
| 429 | |||
| 430 | enum { | ||
| 431 | FindDeleteNONE = 1, /* don't delete after finding */ | ||
| 432 | FindDeleteLOW, /* delete precise size from low end */ | ||
| 433 | FindDeleteHIGH, /* delete precise size from high end */ | ||
| 434 | FindDeleteENTIRE, /* delete entire range */ | ||
| 435 | FindDeleteLIMIT /* not a FindDelete operation; the limit of the enum. */ | ||
| 436 | }; | ||
| 437 | |||
| 438 | |||
| 427 | /* Types for WriteF formats */ | 439 | /* Types for WriteF formats */ |
| 428 | /* These should be used with calls to WriteF. */ | 440 | /* These should be used with calls to WriteF. */ |
| 429 | /* These must be unpromotable types. */ | 441 | /* These must be unpromotable types. */ |