mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-24 07:41:54 -07:00
Renaming protocolinst to inst and protocolclass to instclass to make naming consistent with other classes.
Copied from Perforce Change: 190822 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
19adf3ec16
commit
09e73dd1da
12 changed files with 72 additions and 69 deletions
|
|
@ -1171,7 +1171,7 @@ static Res bufferTrivDescribe(Buffer buffer, mps_lib_FILE *stream, Count depth)
|
|||
|
||||
Bool BufferClassCheck(BufferClass class)
|
||||
{
|
||||
CHECKD(ProtocolClass, &class->protocol);
|
||||
CHECKD(InstClass, &class->protocol);
|
||||
CHECKL(class->size >= sizeof(BufferStruct));
|
||||
CHECKL(FUNCHECK(class->varargs));
|
||||
CHECKL(FUNCHECK(class->init));
|
||||
|
|
@ -1194,7 +1194,7 @@ Bool BufferClassCheck(BufferClass class)
|
|||
|
||||
DEFINE_CLASS(BufferClass, class)
|
||||
{
|
||||
INHERIT_CLASS(&class->protocol, BufferClass, ProtocolClass);
|
||||
INHERIT_CLASS(&class->protocol, BufferClass, InstClass);
|
||||
class->size = sizeof(BufferStruct);
|
||||
class->varargs = ArgTrivVarargs;
|
||||
class->init = bufferTrivInit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue