542 |
/* Convenience macros for dealing with Lisp strings. */ |
/* Convenience macros for dealing with Lisp strings. */ |
543 |
|
|
544 |
#define SREF(string, index) XSTRING (string)->data[index] |
#define SREF(string, index) XSTRING (string)->data[index] |
545 |
#define SDATA(string) XSTRING (string)->data |
#define SDATA(string) (XSTRING (string)->data + 0) |
546 |
#define SCHARS(string) (XSTRING (string)->size + 0) |
#define SCHARS(string) (XSTRING (string)->size + 0) |
547 |
#define SBYTES(string) (STRING_BYTES (XSTRING (string)) + 0) |
#define SBYTES(string) (STRING_BYTES (XSTRING (string)) + 0) |
548 |
|
|