[Top][All Lists]

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

Re: Patch for fields of `struct buffer'

From: Stefan Monnier
Subject: Re: Patch for fields of `struct buffer'
Date: Fri, 28 Jan 2011 13:29:29 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Rather than defining all the individual BUF_xxxx(buf) macros 
> for each field buf->xxxx field, would it be possible to factor
> this out in a single accessor macro like

>       B_(buf, XXXX)

That sounds even better, yes.

> If necessary, behind the scenes (by help of the proprocessor),
> this could further map into a BUF_xxxx(buf) macro, but I don't

I don't think that would be necessary, because I think the treatment is
the same for all fields.


reply via email to

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