diff options
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index 471b8277b82..2a598900146 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2609,6 +2609,15 @@ extern Lisp_Object make_string (const char *, ptrdiff_t); | |||
| 2609 | extern Lisp_Object make_formatted_string (char *, const char *, ...) | 2609 | extern Lisp_Object make_formatted_string (char *, const char *, ...) |
| 2610 | ATTRIBUTE_FORMAT_PRINTF (2, 3); | 2610 | ATTRIBUTE_FORMAT_PRINTF (2, 3); |
| 2611 | extern Lisp_Object make_unibyte_string (const char *, ptrdiff_t); | 2611 | extern Lisp_Object make_unibyte_string (const char *, ptrdiff_t); |
| 2612 | |||
| 2613 | /* Make unibyte string from C string when the length isn't known. */ | ||
| 2614 | |||
| 2615 | static inline Lisp_Object | ||
| 2616 | build_unibyte_string (const char *str) | ||
| 2617 | { | ||
| 2618 | return make_unibyte_string (str, strlen (str)); | ||
| 2619 | } | ||
| 2620 | |||
| 2612 | extern Lisp_Object make_multibyte_string (const char *, ptrdiff_t, ptrdiff_t); | 2621 | extern Lisp_Object make_multibyte_string (const char *, ptrdiff_t, ptrdiff_t); |
| 2613 | extern Lisp_Object make_event_array (int, Lisp_Object *); | 2622 | extern Lisp_Object make_event_array (int, Lisp_Object *); |
| 2614 | extern Lisp_Object make_uninit_string (EMACS_INT); | 2623 | extern Lisp_Object make_uninit_string (EMACS_INT); |