1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 08:20:41 -08:00
emacs/admin/coccinelle
Dmitry Antipov d7ea76b4f3 Simple wrapper for make_unibyte_string, adjust font_open_by_name.
* src/lisp.h (build_unibyte_string): New function.
* src/dosfns.c, src/fileio.c, src/fns.c, src/ftfont.c, src/process.c:
* src/sysdep.c, src/w32fns.c, src/xfns.c: Use it.
* src/font.c (font_open_by_name): Change 2nd and 3rd args to the only arg
of type Lisp_Object to avoid redundant calls to make_unibyte_string.
Adjust users accordingly.
* src/font.h (font_open_by_name): Adjust prototype.
* admin/coccinelle/unibyte_string.cocci: Semantic patch to convert from
make_unibyte_string to build_unibyte_string where appropriate.
2012-07-20 11:29:04 +04:00
..
build_string.cocci
list_loop.cocci Use XCAR and XCDR instead of Fcar and Fcdr where possible. 2012-07-10 20:53:26 +04:00
README
unibyte_string.cocci Simple wrapper for make_unibyte_string, adjust font_open_by_name. 2012-07-20 11:29:04 +04:00
vector_contents.cocci Use XCAR and XCDR instead of Fcar and Fcdr where possible. 2012-07-10 20:53:26 +04:00
xzalloc.cocci Cleanup xmalloc. 2012-07-05 10:32:41 +04:00

This directory contains semantic patches for Coccinelle, a program matching
and transformation tool for programs written in C.  For more details, see
http://coccinelle.lip6.fr.