Mercurial > emacs
annotate lwlib/lwlib-Xlw.h @ 31604:91e7cea32eaa
Move allocation with mmap here, from ralloc.c. Change
conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS.
(mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed
from former r_alloc_* functions in ralloc.c.
(mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New
variables.
(MEM_ALIGN) [REL_ALLOC_MMAP]: New macro.
(mmap_init) [REL_ALLOC_MMAP]: New function.
(alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New
functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and
BUFFER_FREE.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 14 Sep 2000 15:14:02 +0000 |
parents | 6ed38ee607e9 |
children | 695cf19ef79e |
rev | line source |
---|---|
5626 | 1 #ifndef LWLIB_XLW_H |
2 #define LWLIB_XLW_H | |
3 | |
5627
7ff2d6076466
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
4 #include "lwlib-int.h" |
5626 | 5 |
6 extern widget_creation_entry xlw_creation_table []; | |
7 extern widget_creation_function xlw_create_dialog; | |
8 | |
9 Boolean | |
29466 | 10 lw_lucid_widget_p __P ((Widget widget)); |
5626 | 11 |
12 void | |
29466 | 13 xlw_update_one_widget __P ((widget_instance* instance, Widget widget, |
14 widget_value* val, Boolean deep_p)); | |
5626 | 15 |
16 void | |
29466 | 17 xlw_update_one_value __P ((widget_instance* instance, Widget widget, |
18 widget_value* val)); | |
5626 | 19 |
20 void | |
29466 | 21 xlw_destroy_instance __P ((widget_instance* instance)); |
5626 | 22 |
23 void | |
29466 | 24 xlw_pop_instance __P ((widget_instance* instance, Boolean up)); |
5626 | 25 |
26 void | |
29466 | 27 xlw_popup_menu __P ((Widget widget, XEvent * event)); |
5626 | 28 |
29 #endif /* LWLIB_XLW_H */ |