emacs-devel
[Top][All Lists]
Advanced

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

Re: Status of MAC/W32/X consolidation -- first major patch committed.


From: Jason Rumney
Subject: Re: Status of MAC/W32/X consolidation -- first major patch committed.
Date: 17 Mar 2003 08:56:08 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

address@hidden (Kim F. Storm) writes:

> I swapped the names of "w32_get_glyph_overhangs" and
> "x_get_glyph_overhangs" to make the X and W32 code less different...

That could be dangerous. Usually if I changed the x_ prefix to w32_,
I did so because the interface or effect of the function was
different. In this case, the interface was as follows.

static void w32_get_glyph_overhangs P_ ((HDC hdc, struct glyph *,
                                          struct frame *,
                                          int *, int *));

 x_get_glyph_overhangs was probably a wrapper to present the same
 interface as the x equivalent, but less efficient due to needing to
 get the hdc on every call (it is called for every glyph displayed, so
 that makes a big difference).






reply via email to

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