# HG changeset patch # User Kenichi Handa # Date 1211423054 0 # Node ID 4d81ef9a5f1dc43f506323cbb0fbca3f5357da20 # Parent 1520d3ef2a48eafb2b6269370216bf63952464c5 (Ffont_xlfd_name): EXFUN adjusted. (FONT_DEBUG): Define it. (font_add_log): Extern it. (font_assert): Renamed from xassert. diff -r 1520d3ef2a48 -r 4d81ef9a5f1d src/font.h --- a/src/font.h Thu May 22 02:23:03 2008 +0000 +++ b/src/font.h Thu May 22 02:24:14 2008 +0000 @@ -761,7 +761,7 @@ EXFUN (Flist_fonts, 4); EXFUN (Ffont_family_list, 1); EXFUN (Fclear_font_cache, 0); -EXFUN (Ffont_xlfd_name, 1); +EXFUN (Ffont_xlfd_name, 2); extern Lisp_Object font_make_spec P_ ((void)); extern Lisp_Object font_make_entity P_ ((void)); @@ -856,6 +856,18 @@ extern struct font_driver atmfont_driver; #endif /* MAC_OS */ +#ifndef FONT_DEBUG +#define FONT_DEBUG +#endif + +extern void font_add_log P_ ((char *, Lisp_Object, Lisp_Object)); + +#ifdef FONT_DEBUG +#define font_assert(X) do {if (!(X)) abort ();} while (0) +#else /* not FONT_DEBUG */ +#define font_assert(X) (void) 0 +#endif /* not FONT_DEBUG */ + #endif /* not EMACS_FONT_H */ /* arch-tag: 3b7260c3-5bec-4d6b-a0db-95c1b431b1a2