Commit eaf17c6b authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Fstring_bytes): Declare arg STRING as Lisp_Object.

parent bca7646d
......@@ -183,6 +183,7 @@ DEFUN ("string-bytes", Fstring_bytes, Sstring_bytes, 1, 1, 0,
"Return the number of bytes in STRING.\n\
If STRING is a multibyte string, this is greater than the length of STRING.")
Lisp_Object string;
CHECK_STRING (string, 1);
return make_number (XSTRING (string)->size_byte);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment