This reclaims a bit of performance when compiling with gcc -Og.
These functions were macros until I changed them in
2020-04-17T14:57:25Z!eggert@cs.ucla.edu.
* src/casefiddle.c (make_char_unibyte):
* src/ccl.c (GET_TRANSLATION_TABLE): Now inline.
}
\f
/* If C is not ASCII, make it unibyte. */
-static int
+static inline int
make_char_unibyte (int c)
{
return ASCII_CHAR_P (c) ? c : CHAR_TO_BYTE8 (c);
static struct ccl_prog_stack ccl_prog_stack_struct[256];
/* Return a translation table of id number ID. */
-static Lisp_Object
+static inline Lisp_Object
GET_TRANSLATION_TABLE (int id)
{
return XCDR (XVECTOR (Vtranslation_table_vector)->contents[id]);