diff options
| author | Joakim Verona | 2013-08-14 18:51:46 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-08-14 18:51:46 +0200 |
| commit | 1cd3338c8c8074c0c93c997e4430d441fdec4113 (patch) | |
| tree | d18dfd08c22a10c375c89f9b66698d10d14cdce6 /src/lisp.h | |
| parent | ef7cb56e57e53af78783a85df167f943bd5fe039 (diff) | |
| parent | 5b71542de3ef7f08b7c30e93340502d7cc120910 (diff) | |
| download | emacs-1cd3338c8c8074c0c93c997e4430d441fdec4113.tar.gz emacs-1cd3338c8c8074c0c93c997e4430d441fdec4113.zip | |
merge from trunk
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index 981ab3f6f0b..52110fbbaf4 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4260,10 +4260,17 @@ extern void *xnrealloc (void *, ptrdiff_t, ptrdiff_t); | |||
| 4260 | extern void *xpalloc (void *, ptrdiff_t *, ptrdiff_t, ptrdiff_t, ptrdiff_t); | 4260 | extern void *xpalloc (void *, ptrdiff_t *, ptrdiff_t, ptrdiff_t, ptrdiff_t); |
| 4261 | 4261 | ||
| 4262 | extern char *xstrdup (const char *); | 4262 | extern char *xstrdup (const char *); |
| 4263 | extern char *xlispstrdup (Lisp_Object); | ||
| 4263 | extern void xputenv (const char *); | 4264 | extern void xputenv (const char *); |
| 4264 | 4265 | ||
| 4265 | extern char *egetenv (const char *); | 4266 | extern char *egetenv (const char *); |
| 4266 | 4267 | ||
| 4268 | /* Copy Lisp string to temporary (allocated on stack) C string. */ | ||
| 4269 | |||
| 4270 | #define xlispstrdupa(string) \ | ||
| 4271 | memcpy (alloca (SBYTES (string) + 1), \ | ||
| 4272 | SSDATA (string), SBYTES (string) + 1) | ||
| 4273 | |||
| 4267 | /* Set up the name of the machine we're running on. */ | 4274 | /* Set up the name of the machine we're running on. */ |
| 4268 | extern void init_system_name (void); | 4275 | extern void init_system_name (void); |
| 4269 | 4276 | ||