[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r113482: * alloc.c (make_save_ptr_ptr): Define this
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r113482: * alloc.c (make_save_ptr_ptr): Define this function. |
Date: |
Sun, 21 Jul 2013 15:56:59 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 113482
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sun 2013-07-21 08:56:55 -0700
message:
* alloc.c (make_save_ptr_ptr): Define this function.
It was inadvertently omitted. It's needed only if
HAVE_MENUS && ! (USE_X_TOOLKIT || USE_GTK).
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/alloc.c alloc.c-20091113204419-o5vbwnq5f7feedwu-252
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-07-21 11:47:07 +0000
+++ b/src/ChangeLog 2013-07-21 15:56:55 +0000
@@ -1,3 +1,9 @@
+2013-07-21 Paul Eggert <address@hidden>
+
+ * alloc.c (make_save_ptr_ptr): Define this function.
+ It was inadvertently omitted. It's needed only if
+ HAVE_MENUS && ! (USE_X_TOOLKIT || USE_GTK).
+
2013-07-21 Jan Djärv <address@hidden>
* nsterm.m (sendEvent:): Skip mouse moved if no dialog and no Emacs
=== modified file 'src/alloc.c'
--- a/src/alloc.c 2013-07-19 17:54:26 +0000
+++ b/src/alloc.c 2013-07-21 15:56:55 +0000
@@ -3394,6 +3394,19 @@
return val;
}
+#if defined HAVE_MENUS && ! (defined USE_X_TOOLKIT || defined USE_GTK)
+Lisp_Object
+make_save_ptr_ptr (void *a, void *b)
+{
+ Lisp_Object val = allocate_misc (Lisp_Misc_Save_Value);
+ struct Lisp_Save_Value *p = XSAVE_VALUE (val);
+ p->save_type = SAVE_TYPE_PTR_PTR;
+ p->data[0].pointer = a;
+ p->data[1].pointer = b;
+ return val;
+}
+#endif
+
Lisp_Object
make_save_funcptr_ptr_obj (void (*a) (void), void *b, Lisp_Object c)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r113482: * alloc.c (make_save_ptr_ptr): Define this function.,
Paul Eggert <=