diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-09-20 14:44:39 +0300 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-09-20 14:44:39 +0300 |
commit | a953c1e3df1015056523747595b2ca324cdbe871 (patch) | |
tree | 871e8f0d9aed5862ba8cf1ffa25801d0ee6b0c5c /lwlib/lwlib.h | |
parent | 6553950651fdac87d3273885fc4ac2ecf00f8cfd (diff) | |
download | emacs-a953c1e3df1015056523747595b2ca324cdbe871.tar.gz |
Use const for constant arguments.
* lwlib/lwlib.h (lw_register_widget, lw_create_widget):
* lwlib/lwlib.c (allocate_widget_info, lw_register_widget)
(lw_create_widget, separator_table): Use const.
Diffstat (limited to 'lwlib/lwlib.h')
-rw-r--r-- | lwlib/lwlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lwlib/lwlib.h b/lwlib/lwlib.h index 1ee075257f1..36f880d6d13 100644 --- a/lwlib/lwlib.h +++ b/lwlib/lwlib.h @@ -132,14 +132,14 @@ typedef struct _widget_value typedef void (*lw_callback) (Widget w, LWLIB_ID id, void* data); -void lw_register_widget (char* type, char* name, LWLIB_ID id, +void lw_register_widget (const char* type, const char* name, LWLIB_ID id, widget_value* val, lw_callback pre_activate_cb, lw_callback selection_cb, lw_callback post_activate_cb, lw_callback highlight_cb); Widget lw_get_widget (LWLIB_ID id, Widget parent, Boolean pop_up_p); Widget lw_make_widget (LWLIB_ID id, Widget parent, Boolean pop_up_p); -Widget lw_create_widget (char* type, char* name, LWLIB_ID id, +Widget lw_create_widget (const char* type, const char* name, LWLIB_ID id, widget_value* val, Widget parent, Boolean pop_up_p, lw_callback pre_activate_cb, lw_callback selection_cb, |