1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00

Making arenas properly inherit from instances, and converting remaining method calls to use the method macro, while noting uses which are inside-out.

Copied from Perforce
 Change: 190856
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Brooksby 2016-04-10 14:00:55 +01:00
parent b6219b10a6
commit cf29dcc98d
12 changed files with 44 additions and 37 deletions

View file

@ -244,7 +244,8 @@ static Res BufferInit(Buffer buffer, BufferClass class,
/* Dispatch to the buffer class method to perform any */
/* class-specific initialization of the buffer. */
res = (*class->init)(buffer, pool, args);
/* FIXME: Should call this first, which next-method calls BufferAbsInit. */
res = class->init(buffer, pool, args);
if (res != ResOK)
goto failInit;