gnu.emacs/lwlib
Stefan Kangas 3788952327 Add new swap macro and use it
A `swap` macro prevents programming errors and is more concise.
It is a natural addition to our existing `min` and `max` macros.

* src/lisp.h (swap): New macro.
* lwlib/xlwmenu.c (draw_shadow_rectangle, draw_shadow_rhombus):
* src/androidterm.c (android_get_surrounding_text):
* src/buffer.c (Fmake_overlay, modify_overlay, Fmove_overlay):
* src/dispnew.c (swap_glyphs_in_rows, reverse_rows):
* src/editfns.c (Finsert_buffer_substring)
(Fcompare_buffer_substrings):
* src/eval.c (run_hook_wrapped_funcall):
* src/fns.c (extract_data_from_object):
* src/regex-emacs.c (forall_firstchar_1):
* src/textconv.c (textconv_query, get_extracted_text)
(get_surrounding_text):
* src/textprop.c (validate_interval_range)
(verify_interval_modification):
* src/w32uniscribe.c (OTF_INT16_VAL):
* src/xfaces.c (load_face_colors):
* src/xterm.c (SWAPCARD32): Prefer using above macro to open-coding.
2024-01-06 08:22:08 +01:00
..
ChangeLog.1 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
deps.mk ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lwlib-int.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lwlib-utils.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lwlib-utils.h Don't link libXft when using cairo 2019-04-24 12:31:37 +09:00
lwlib-widget.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lwlib-Xaw.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lwlib-Xaw.h More porting to GCC 8 of --enable-gcc-warnings 2018-12-17 08:16:17 -08:00
lwlib-Xlw.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lwlib-Xlw.h More porting to GCC 8 of --enable-gcc-warnings 2018-12-17 08:16:17 -08:00
lwlib-Xm.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lwlib-Xm.h Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
lwlib.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lwlib.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
Makefile.in ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
README Generate a ChangeLog file from commit logs 2015-04-07 00:00:55 -07:00
xlwmenu.c Add new swap macro and use it 2024-01-06 08:22:08 +01:00
xlwmenu.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
xlwmenuP.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00

This subdirectory contains the Lucid Widget Library (lwlib), which
provides a uniform interface to a few different X toolkits.  The
library was written by Lucid, Inc and released under the terms of the
GPL version 1 (or later).  It is not considered part of GNU Emacs.

This version of the library differs from the original as described in
the ChangeLog.1 file.