diff options
| author | Paul Eggert | 2018-06-14 15:59:08 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-06-14 17:13:38 -0700 |
| commit | 30d393f9118035ec5d12917252bc4339c771a539 (patch) | |
| tree | 6a36241db9db62022c6cd39dc71ae71f3fdb371e /src/dbusbind.c | |
| parent | 51adab5de24b3ee215fe636aedb7ff91d69a220c (diff) | |
| download | emacs-30d393f9118035ec5d12917252bc4339c771a539.tar.gz emacs-30d393f9118035ec5d12917252bc4339c771a539.zip | |
New mint_ptr representation for C pointers
* src/lisp.h (make_mint_ptr, mint_ptrp, xmint_pointer): New functions.
* src/dbusbind.c (xd_lisp_dbus_to_dbus, Fdbus__init_bus):
* src/emacs-module.c (module_free_global_ref, Fmodule_load)
(module_assert_runtime, module_assert_env, value_to_lisp)
(lisp_to_value, initialize_environment)
(finalize_environment, finalize_runtime_unwind)
(mark_modules):
* src/font.c (otf_open, font_put_frame_data)
(font_get_frame_data):
* src/macfont.m (macfont_invalidate_family_cache)
(macfont_get_family_cache_if_present)
(macfont_set_family_cache):
* src/nsterm.h (XNS_SCROLL_BAR):
* src/nsterm.m (ns_set_vertical_scroll_bar)
(ns_set_horizontal_scroll_bar):
* src/w32fns.c (w32_monitor_enum)
(w32_display_monitor_attributes_list):
* src/xterm.c (x_cr_destroy, x_cr_export_frames):
* src/xwidget.c (webkit_javascript_finished_cb)
(save_script_callback, Fxwidget_webkit_execute_script)
(kill_buffer_xwidgets):
Use mint pointers instead of merely save pointers.
Diffstat (limited to 'src/dbusbind.c')
| -rw-r--r-- | src/dbusbind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c index 4e0b99bea9d..4ebea5712a8 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -946,7 +946,7 @@ xd_get_connection_references (DBusConnection *connection) | |||
| 946 | static DBusConnection * | 946 | static DBusConnection * |
| 947 | xd_lisp_dbus_to_dbus (Lisp_Object bus) | 947 | xd_lisp_dbus_to_dbus (Lisp_Object bus) |
| 948 | { | 948 | { |
| 949 | return (DBusConnection *) XSAVE_POINTER (bus, 0); | 949 | return xmint_pointer (bus); |
| 950 | } | 950 | } |
| 951 | 951 | ||
| 952 | /* Return D-Bus connection address. BUS is either a Lisp symbol, | 952 | /* Return D-Bus connection address. BUS is either a Lisp symbol, |
| @@ -1189,7 +1189,7 @@ this connection to those buses. */) | |||
| 1189 | XD_SIGNAL1 (build_string ("Cannot add watch functions")); | 1189 | XD_SIGNAL1 (build_string ("Cannot add watch functions")); |
| 1190 | 1190 | ||
| 1191 | /* Add bus to list of registered buses. */ | 1191 | /* Add bus to list of registered buses. */ |
| 1192 | val = make_save_ptr (connection); | 1192 | val = make_mint_ptr (connection); |
| 1193 | xd_registered_buses = Fcons (Fcons (bus, val), xd_registered_buses); | 1193 | xd_registered_buses = Fcons (Fcons (bus, val), xd_registered_buses); |
| 1194 | 1194 | ||
| 1195 | /* Cleanup. */ | 1195 | /* Cleanup. */ |