emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buffer.c/buffer.h: How to add new buffer-local variables?


From: Stefan Monnier
Subject: Re: buffer.c/buffer.h: How to add new buffer-local variables?
Date: Mon, 08 Apr 2019 14:33:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> Perhaps adding a dummy member the same size as Lisp_Object, and using
>> that as the anchor?
> Could be, although this will make the struct larger than it could have
> been on some systems.

We could also use the last Lisp_Object element as the anchor (taking its
offset plus its size as the "end offset").


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]