aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/protocol.h
diff options
context:
space:
mode:
authorRichard Kistruck2006-06-29 17:34:48 +0100
committerRichard Kistruck2006-06-29 17:34:48 +0100
commit10f4047f35f3edab08bc14ef29d06f69897c3e33 (patch)
treef843dd69bb59b7f87a4d8255e304fc9284314467 /mps/code/protocol.h
parentcfd8f8e9636e10b4d6a9bda0aa3b2d8a7acaf3e4 (diff)
parentfc0b9bf4bacc4295a5c2d28740f56c6e29fa1bc3 (diff)
downloademacs-10f4047f35f3edab08bc14ef29d06f69897c3e33.tar.gz
emacs-10f4047f35f3edab08bc14ef29d06f69897c3e33.zip
Mps: fix w3i3mv "all" build with vc6:
1. amsss.c: initialize ambigRoot (uninitialized warning); 2. commpost.nmk: 2a. drop long-vanished protcv.exe; 2b. mpmss.exe needs MVFF; 2c. locusss.exe had no build rule; 3. finaltest.c: main does not use argc,v so declare as main(void); 4. lockutw3.c: add parens to avoid operator-precedence warning; 5. protocol.h: s/interface/interfaceIn: suspected compiler bug. (integrate from version/1.106/...@158054) Copied from Perforce Change: 159468 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/protocol.h')
-rw-r--r--mps/code/protocol.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mps/code/protocol.h b/mps/code/protocol.h
index 81f9b9bf511..4c70738e8f8 100644
--- a/mps/code/protocol.h
+++ b/mps/code/protocol.h
@@ -102,20 +102,22 @@ typedef struct ProtocolInstStruct *ProtocolInst;
102 * If "pro" is an instance of "interface", then returns TRUE 102 * If "pro" is an instance of "interface", then returns TRUE
103 * and sets coerceResult to point directly to the part of "pro" 103 * and sets coerceResult to point directly to the part of "pro"
104 * which contains the slots for "interface" 104 * which contains the slots for "interface"
105 * RHSK 2006-04-05 s/interface/interfaceIn/: job000605, suspect msvc bug.
105 */ 106 */
106typedef Bool (*ProtocolCoerceInstMethod)(ProtocolInst *coerceResult, 107typedef Bool (*ProtocolCoerceInstMethod)(ProtocolInst *coerceResult,
107 ProtocolInst pro, 108 ProtocolInst pro,
108 ProtocolClass interface); 109 ProtocolClass interfaceIn);
109 110
110/* ProtocolCoerceClassMethod -- coerce "proClass" to an "interface" class 111/* ProtocolCoerceClassMethod -- coerce "proClass" to an "interface" class
111 * 112 *
112 * If "proClass" is a subclass of "interface", then returns TRUE 113 * If "proClass" is a subclass of "interface", then returns TRUE
113 * and sets coerceResult to point directly to the part of 114 * and sets coerceResult to point directly to the part of
114 * "proClass" which contains the slots for "interface". 115 * "proClass" which contains the slots for "interface".
116 * RHSK 2006-04-05 s/interface/interfaceIn/: job000605, suspect msvc bug.
115 */ 117 */
116typedef Bool (*ProtocolCoerceClassMethod)(ProtocolClass *coerceResult, 118typedef Bool (*ProtocolCoerceClassMethod)(ProtocolClass *coerceResult,
117 ProtocolClass proClass, 119 ProtocolClass proClass,
118 ProtocolClass interface); 120 ProtocolClass interfaceIn);
119 121
120 122
121 123