/* Add module environment functions newly added in Emacs 30 here. Before Emacs 30 is released, remove this comment and start module-env-31.h on the master branch. */ /* Copy the content of the Lisp string VALUE to BUFFER as an utf8 null-terminated string. SIZE must point to the total size of the buffer. If BUFFER is NULL or if SIZE is not big enough, write the required buffer size to SIZE and return true. Note that SIZE must include the last null byte (e.g. "abc" needs a buffer of size 4). Return true if the string was successfully copied. */ bool (*copy_unibyte_string_contents) (emacs_env *env, emacs_value value, char *buf, ptrdiff_t *len) EMACS_ATTRIBUTE_NONNULL(1, 4);