X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/9e928ac989c824c376b1ab576a6da69cd86b12c6..51b59d794fe1d4a82fcd842b478657cc93f91595:/src/lisp.h diff --git a/src/lisp.h b/src/lisp.h index 726b7671f4..64c0b2332e 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -635,6 +635,9 @@ extern Lisp_Object make_number (EMACS_INT); #define SCHARS(string) (XSTRING (string)->size + 0) #define SBYTES(string) (STRING_BYTES (XSTRING (string)) + 0) +/* Avoid "differ in sign" warnings. */ +#define SSDATA(x) ((char *) SDATA (x)) + #define STRING_SET_CHARS(string, newsize) \ (XSTRING (string)->size = (newsize)) @@ -1844,7 +1847,7 @@ extern void defvar_kboard (struct Lisp_Kboard_Objfwd *, const char *, int); /* Macros we use to define forwarded Lisp variables. These are used in the syms_of_FILENAME functions. - + An ordinary (not in buffer_defaults, per-buffer, or per-keyboard) lisp variable is actually a field in `struct emacs_globals'. The field's name begins with "f_", which is a convention enforced by