unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Heads up: rewriting `struct kboard'
@ 2011-02-16 16:29 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2011-02-16 16:29 UTC (permalink / raw)
  To: Emacs discussions

I am going to check in my `struct kboard' patch now.
This may break the build on some platforms.

It is very similar to the `struct buffer' patch.
It rewrites references to Lisp-visible fields of `struct kboard'
to use a new macro, KVAR.  The fields are renamed to prevent old-style
accesses.

As with the `struct buffer' patch, the fix for any given breakage is
simple: turn `kbd->field' into `KVAR (kbd, field)'.  Please do not
directly use KBOARD_INTERNAL_FIELD.

I wrote this patch using a hacked copy of the script I used for struct
buffer.  I can send it to anybody who is interested.

I think this is the last infrastructure patch that I need on the trunk.
Next I plan to make a new concurrency branch and start importing
relevant patches there.

Tom



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-16 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-16 16:29 Heads up: rewriting `struct kboard' Tom Tromey

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).