aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorJoakim Verona2013-08-14 18:51:46 +0200
committerJoakim Verona2013-08-14 18:51:46 +0200
commit1cd3338c8c8074c0c93c997e4430d441fdec4113 (patch)
treed18dfd08c22a10c375c89f9b66698d10d14cdce6 /src/lisp.h
parentef7cb56e57e53af78783a85df167f943bd5fe039 (diff)
parent5b71542de3ef7f08b7c30e93340502d7cc120910 (diff)
downloademacs-1cd3338c8c8074c0c93c997e4430d441fdec4113.tar.gz
emacs-1cd3338c8c8074c0c93c997e4430d441fdec4113.zip
merge from trunk
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h7
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);
4260extern void *xpalloc (void *, ptrdiff_t *, ptrdiff_t, ptrdiff_t, ptrdiff_t); 4260extern void *xpalloc (void *, ptrdiff_t *, ptrdiff_t, ptrdiff_t, ptrdiff_t);
4261 4261
4262extern char *xstrdup (const char *); 4262extern char *xstrdup (const char *);
4263extern char *xlispstrdup (Lisp_Object);
4263extern void xputenv (const char *); 4264extern void xputenv (const char *);
4264 4265
4265extern char *egetenv (const char *); 4266extern 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. */
4268extern void init_system_name (void); 4275extern void init_system_name (void);
4269 4276