aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/protocol.h
diff options
context:
space:
mode:
authorNick Barnes2001-12-17 15:18:17 +0000
committerNick Barnes2001-12-17 15:18:17 +0000
commitdb4b3a6fa51ea452f62ed64612da5466d7bc292e (patch)
tree4401c0c97d4df2e1c48ad06f263c27199e92d5dc /mps/code/protocol.h
parentc864931fe4271b6592ca4a76ce856938d263c74a (diff)
downloademacs-db4b3a6fa51ea452f62ed64612da5466d7bc292e.tar.gz
emacs-db4b3a6fa51ea452f62ed64612da5466d7bc292e.zip
Remove trailing whitespace.
Copied from Perforce Change: 25309 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/protocol.h')
-rw-r--r--mps/code/protocol.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/mps/code/protocol.h b/mps/code/protocol.h
index d688cff6feb..44d3605703c 100644
--- a/mps/code/protocol.h
+++ b/mps/code/protocol.h
@@ -99,22 +99,22 @@ typedef struct ProtocolInstStruct *ProtocolInst;
99 99
100/* ProtocolCoerceInstMethod -- coerce "pro" to an instance of "interface" 100/* ProtocolCoerceInstMethod -- coerce "pro" to an instance of "interface"
101 * 101 *
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 */ 105 */
106typedef Bool (*ProtocolCoerceInstMethod)(ProtocolInst *coerceResult, 106typedef Bool (*ProtocolCoerceInstMethod)(ProtocolInst *coerceResult,
107 ProtocolInst pro, 107 ProtocolInst pro,
108 ProtocolClass interface); 108 ProtocolClass interface);
109 109
110/* ProtocolCoerceClassMethod -- coerce "proClass" to an "interface" class 110/* ProtocolCoerceClassMethod -- coerce "proClass" to an "interface" class
111 * 111 *
112 * If "proClass" is a subclass of "interface", then returns TRUE 112 * If "proClass" is a subclass of "interface", then returns TRUE
113 * and sets coerceResult to point directly to the part of 113 * and sets coerceResult to point directly to the part of
114 * "proClass" which contains the slots for "interface". 114 * "proClass" which contains the slots for "interface".
115 */ 115 */
116typedef Bool (*ProtocolCoerceClassMethod)(ProtocolClass *coerceResult, 116typedef Bool (*ProtocolCoerceClassMethod)(ProtocolClass *coerceResult,
117 ProtocolClass proClass, 117 ProtocolClass proClass,
118 ProtocolClass interface); 118 ProtocolClass interface);
119 119
120 120
@@ -135,7 +135,7 @@ typedef struct ProtocolInstStruct {
135 135
136/* ProtocolClassGet -- Returns the root of the protocol class hierarchy 136/* ProtocolClassGet -- Returns the root of the protocol class hierarchy
137 * 137 *
138 * Function name conforms to standard conventions for 138 * Function name conforms to standard conventions for
139 * protocols. 139 * protocols.
140 */ 140 */
141extern ProtocolClass ProtocolClassGet(void); 141extern ProtocolClass ProtocolClassGet(void);
@@ -174,7 +174,7 @@ extern Bool ProtocolIsSubclass(ProtocolClass sub, ProtocolClass super);
174/* SUPERCLASS - get the superclass object, given a class name 174/* SUPERCLASS - get the superclass object, given a class name
175 * 175 *
176 * Returns the superclass, with type ProtocolClass. Clients will 176 * Returns the superclass, with type ProtocolClass. Clients will
177 * probably wish to cast this. See 177 * probably wish to cast this. See
178 * design.mps.protocol.int.static-superclass 178 * design.mps.protocol.int.static-superclass
179 */ 179 */
180#define SUPERCLASS(className) \ 180#define SUPERCLASS(className) \