diff options
| author | Dan Nicolaescu | 2009-11-06 06:50:52 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-11-06 06:50:52 +0000 |
| commit | d67b4f80dbe514d6e351e7d89c78921c85e7dbe7 (patch) | |
| tree | da83a5dc49e499e330365feaa8123709fdf0cc88 /src/dbusbind.c | |
| parent | 495bd5ca19cf79a9e91b77bf2e2ea37b8be3ef1f (diff) | |
| download | emacs-d67b4f80dbe514d6e351e7d89c78921c85e7dbe7.tar.gz emacs-d67b4f80dbe514d6e351e7d89c78921c85e7dbe7.zip | |
* xterm.c (syms_of_xterm):
* xselect.c (syms_of_xselect):
* xmenu.c (syms_of_xmenu):
* xfns.c (syms_of_xfns):
* xfaces.c (syms_of_xfaces):
* xdisp.c (syms_of_xdisp):
* window.c (syms_of_window):
* w32fns.c (syms_of_w32fns):
* undo.c (syms_of_undo):
* textprop.c (syms_of_textprop):
* terminal.c (syms_of_terminal):
* syntax.c (syms_of_syntax):
* sound.c (syms_of_sound):
* search.c (syms_of_search):
* print.c (syms_of_print):
* minibuf.c (syms_of_minibuf):
* macros.c (syms_of_macros):
* keymap.c (syms_of_keymap, initial_define_key)
(initial_define_lispy_key):
* keyboard.c (syms_of_keyboard):
* insdel.c (syms_of_insdel):
* image.c (syms_of_image):
* fringe.c (syms_of_fringe):
* frame.c (syms_of_frame):
* fontset.c (syms_of_fontset):
* fns.c (syms_of_fns):
* fns.c (syms_of_fns):
* fileio.c (syms_of_fileio):
* fileio.c (syms_of_fileio):
* eval.c (syms_of_eval):
* doc.c (syms_of_doc):
* dispnew.c (syms_of_display):
* dired.c (syms_of_dired):
* dbusbind.c (syms_of_dbusbind):
* data.c (syms_of_data):
* composite.c (syms_of_composite):
* coding.c (syms_of_coding):
* cmds.c (syms_of_cmds):
* charset.c (define_charset_internal, syms_of_character):
* ccl.c (syms_of_ccl):
* category.c (syms_of_category, init_category_once):
* casetab.c (syms_of_casetab):
* casefiddle.c (syms_of_casefiddle):
* callint.c (syms_of_callint):
* bytecode.c (syms_of_bytecode):
* buffer.c (keys_of_buffer, syms_of_buffer):
* alloc.c (syms_of_alloc):
* process.c (syms_of_process, init_process):
* lread.c (syms_of_lread, init_obarray):
* font.c (build_style_table):
* emacs.c (syms_of_emacs, main): Replace calls to intern with
intern_c_string, calls to make_pure_string with
make_pure_c_string. Use pure_cons instead of Fcons.
* process.c (socket_options): Make it const.
(set_socket_option, init_process): Use a const pointer.
* lread.c (intern_c_string): New function.
(defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
(defvar_int): Uset it. Make the name const char*.
* font.c (struct table_entry): Remove unused member. Make NAMES
constant.
(weight_table, slant_table, width_table): Make constant.
* emacs.c (struct standard_args): Make name and longname constant.
Diffstat (limited to 'src/dbusbind.c')
| -rw-r--r-- | src/dbusbind.c | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c index c2512e687c7..10ae8700cb0 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -1972,104 +1972,104 @@ void | |||
| 1972 | syms_of_dbusbind () | 1972 | syms_of_dbusbind () |
| 1973 | { | 1973 | { |
| 1974 | 1974 | ||
| 1975 | Qdbus_init_bus = intern ("dbus-init-bus"); | 1975 | Qdbus_init_bus = intern_c_string ("dbus-init-bus"); |
| 1976 | staticpro (&Qdbus_init_bus); | 1976 | staticpro (&Qdbus_init_bus); |
| 1977 | defsubr (&Sdbus_init_bus); | 1977 | defsubr (&Sdbus_init_bus); |
| 1978 | 1978 | ||
| 1979 | Qdbus_get_unique_name = intern ("dbus-get-unique-name"); | 1979 | Qdbus_get_unique_name = intern_c_string ("dbus-get-unique-name"); |
| 1980 | staticpro (&Qdbus_get_unique_name); | 1980 | staticpro (&Qdbus_get_unique_name); |
| 1981 | defsubr (&Sdbus_get_unique_name); | 1981 | defsubr (&Sdbus_get_unique_name); |
| 1982 | 1982 | ||
| 1983 | Qdbus_call_method = intern ("dbus-call-method"); | 1983 | Qdbus_call_method = intern_c_string ("dbus-call-method"); |
| 1984 | staticpro (&Qdbus_call_method); | 1984 | staticpro (&Qdbus_call_method); |
| 1985 | defsubr (&Sdbus_call_method); | 1985 | defsubr (&Sdbus_call_method); |
| 1986 | 1986 | ||
| 1987 | Qdbus_call_method_asynchronously = intern ("dbus-call-method-asynchronously"); | 1987 | Qdbus_call_method_asynchronously = intern_c_string ("dbus-call-method-asynchronously"); |
| 1988 | staticpro (&Qdbus_call_method_asynchronously); | 1988 | staticpro (&Qdbus_call_method_asynchronously); |
| 1989 | defsubr (&Sdbus_call_method_asynchronously); | 1989 | defsubr (&Sdbus_call_method_asynchronously); |
| 1990 | 1990 | ||
| 1991 | Qdbus_method_return_internal = intern ("dbus-method-return-internal"); | 1991 | Qdbus_method_return_internal = intern_c_string ("dbus-method-return-internal"); |
| 1992 | staticpro (&Qdbus_method_return_internal); | 1992 | staticpro (&Qdbus_method_return_internal); |
| 1993 | defsubr (&Sdbus_method_return_internal); | 1993 | defsubr (&Sdbus_method_return_internal); |
| 1994 | 1994 | ||
| 1995 | Qdbus_method_error_internal = intern ("dbus-method-error-internal"); | 1995 | Qdbus_method_error_internal = intern_c_string ("dbus-method-error-internal"); |
| 1996 | staticpro (&Qdbus_method_error_internal); | 1996 | staticpro (&Qdbus_method_error_internal); |
| 1997 | defsubr (&Sdbus_method_error_internal); | 1997 | defsubr (&Sdbus_method_error_internal); |
| 1998 | 1998 | ||
| 1999 | Qdbus_send_signal = intern ("dbus-send-signal"); | 1999 | Qdbus_send_signal = intern_c_string ("dbus-send-signal"); |
| 2000 | staticpro (&Qdbus_send_signal); | 2000 | staticpro (&Qdbus_send_signal); |
| 2001 | defsubr (&Sdbus_send_signal); | 2001 | defsubr (&Sdbus_send_signal); |
| 2002 | 2002 | ||
| 2003 | Qdbus_register_signal = intern ("dbus-register-signal"); | 2003 | Qdbus_register_signal = intern_c_string ("dbus-register-signal"); |
| 2004 | staticpro (&Qdbus_register_signal); | 2004 | staticpro (&Qdbus_register_signal); |
| 2005 | defsubr (&Sdbus_register_signal); | 2005 | defsubr (&Sdbus_register_signal); |
| 2006 | 2006 | ||
| 2007 | Qdbus_register_method = intern ("dbus-register-method"); | 2007 | Qdbus_register_method = intern_c_string ("dbus-register-method"); |
| 2008 | staticpro (&Qdbus_register_method); | 2008 | staticpro (&Qdbus_register_method); |
| 2009 | defsubr (&Sdbus_register_method); | 2009 | defsubr (&Sdbus_register_method); |
| 2010 | 2010 | ||
| 2011 | Qdbus_error = intern ("dbus-error"); | 2011 | Qdbus_error = intern_c_string ("dbus-error"); |
| 2012 | staticpro (&Qdbus_error); | 2012 | staticpro (&Qdbus_error); |
| 2013 | Fput (Qdbus_error, Qerror_conditions, | 2013 | Fput (Qdbus_error, Qerror_conditions, |
| 2014 | list2 (Qdbus_error, Qerror)); | 2014 | list2 (Qdbus_error, Qerror)); |
| 2015 | Fput (Qdbus_error, Qerror_message, | 2015 | Fput (Qdbus_error, Qerror_message, |
| 2016 | build_string ("D-Bus error")); | 2016 | make_pure_c_string ("D-Bus error")); |
| 2017 | 2017 | ||
| 2018 | QCdbus_system_bus = intern (":system"); | 2018 | QCdbus_system_bus = intern_c_string (":system"); |
| 2019 | staticpro (&QCdbus_system_bus); | 2019 | staticpro (&QCdbus_system_bus); |
| 2020 | 2020 | ||
| 2021 | QCdbus_session_bus = intern (":session"); | 2021 | QCdbus_session_bus = intern_c_string (":session"); |
| 2022 | staticpro (&QCdbus_session_bus); | 2022 | staticpro (&QCdbus_session_bus); |
| 2023 | 2023 | ||
| 2024 | QCdbus_timeout = intern (":timeout"); | 2024 | QCdbus_timeout = intern_c_string (":timeout"); |
| 2025 | staticpro (&QCdbus_timeout); | 2025 | staticpro (&QCdbus_timeout); |
| 2026 | 2026 | ||
| 2027 | QCdbus_type_byte = intern (":byte"); | 2027 | QCdbus_type_byte = intern_c_string (":byte"); |
| 2028 | staticpro (&QCdbus_type_byte); | 2028 | staticpro (&QCdbus_type_byte); |
| 2029 | 2029 | ||
| 2030 | QCdbus_type_boolean = intern (":boolean"); | 2030 | QCdbus_type_boolean = intern_c_string (":boolean"); |
| 2031 | staticpro (&QCdbus_type_boolean); | 2031 | staticpro (&QCdbus_type_boolean); |
| 2032 | 2032 | ||
| 2033 | QCdbus_type_int16 = intern (":int16"); | 2033 | QCdbus_type_int16 = intern_c_string (":int16"); |
| 2034 | staticpro (&QCdbus_type_int16); | 2034 | staticpro (&QCdbus_type_int16); |
| 2035 | 2035 | ||
| 2036 | QCdbus_type_uint16 = intern (":uint16"); | 2036 | QCdbus_type_uint16 = intern_c_string (":uint16"); |
| 2037 | staticpro (&QCdbus_type_uint16); | 2037 | staticpro (&QCdbus_type_uint16); |
| 2038 | 2038 | ||
| 2039 | QCdbus_type_int32 = intern (":int32"); | 2039 | QCdbus_type_int32 = intern_c_string (":int32"); |
| 2040 | staticpro (&QCdbus_type_int32); | 2040 | staticpro (&QCdbus_type_int32); |
| 2041 | 2041 | ||
| 2042 | QCdbus_type_uint32 = intern (":uint32"); | 2042 | QCdbus_type_uint32 = intern_c_string (":uint32"); |
| 2043 | staticpro (&QCdbus_type_uint32); | 2043 | staticpro (&QCdbus_type_uint32); |
| 2044 | 2044 | ||
| 2045 | QCdbus_type_int64 = intern (":int64"); | 2045 | QCdbus_type_int64 = intern_c_string (":int64"); |
| 2046 | staticpro (&QCdbus_type_int64); | 2046 | staticpro (&QCdbus_type_int64); |
| 2047 | 2047 | ||
| 2048 | QCdbus_type_uint64 = intern (":uint64"); | 2048 | QCdbus_type_uint64 = intern_c_string (":uint64"); |
| 2049 | staticpro (&QCdbus_type_uint64); | 2049 | staticpro (&QCdbus_type_uint64); |
| 2050 | 2050 | ||
| 2051 | QCdbus_type_double = intern (":double"); | 2051 | QCdbus_type_double = intern_c_string (":double"); |
| 2052 | staticpro (&QCdbus_type_double); | 2052 | staticpro (&QCdbus_type_double); |
| 2053 | 2053 | ||
| 2054 | QCdbus_type_string = intern (":string"); | 2054 | QCdbus_type_string = intern_c_string (":string"); |
| 2055 | staticpro (&QCdbus_type_string); | 2055 | staticpro (&QCdbus_type_string); |
| 2056 | 2056 | ||
| 2057 | QCdbus_type_object_path = intern (":object-path"); | 2057 | QCdbus_type_object_path = intern_c_string (":object-path"); |
| 2058 | staticpro (&QCdbus_type_object_path); | 2058 | staticpro (&QCdbus_type_object_path); |
| 2059 | 2059 | ||
| 2060 | QCdbus_type_signature = intern (":signature"); | 2060 | QCdbus_type_signature = intern_c_string (":signature"); |
| 2061 | staticpro (&QCdbus_type_signature); | 2061 | staticpro (&QCdbus_type_signature); |
| 2062 | 2062 | ||
| 2063 | QCdbus_type_array = intern (":array"); | 2063 | QCdbus_type_array = intern_c_string (":array"); |
| 2064 | staticpro (&QCdbus_type_array); | 2064 | staticpro (&QCdbus_type_array); |
| 2065 | 2065 | ||
| 2066 | QCdbus_type_variant = intern (":variant"); | 2066 | QCdbus_type_variant = intern_c_string (":variant"); |
| 2067 | staticpro (&QCdbus_type_variant); | 2067 | staticpro (&QCdbus_type_variant); |
| 2068 | 2068 | ||
| 2069 | QCdbus_type_struct = intern (":struct"); | 2069 | QCdbus_type_struct = intern_c_string (":struct"); |
| 2070 | staticpro (&QCdbus_type_struct); | 2070 | staticpro (&QCdbus_type_struct); |
| 2071 | 2071 | ||
| 2072 | QCdbus_type_dict_entry = intern (":dict-entry"); | 2072 | QCdbus_type_dict_entry = intern_c_string (":dict-entry"); |
| 2073 | staticpro (&QCdbus_type_dict_entry); | 2073 | staticpro (&QCdbus_type_dict_entry); |
| 2074 | 2074 | ||
| 2075 | DEFVAR_LISP ("dbus-registered-functions-table", | 2075 | DEFVAR_LISP ("dbus-registered-functions-table", |
| @@ -2111,7 +2111,7 @@ message arrives. */); | |||
| 2111 | Vdbus_debug = Qnil; | 2111 | Vdbus_debug = Qnil; |
| 2112 | #endif | 2112 | #endif |
| 2113 | 2113 | ||
| 2114 | Fprovide (intern ("dbusbind"), Qnil); | 2114 | Fprovide (intern_c_string ("dbusbind"), Qnil); |
| 2115 | 2115 | ||
| 2116 | } | 2116 | } |
| 2117 | 2117 | ||