diff options
| author | YAMAMOTO Mitsuharu | 2008-04-23 08:56:42 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2008-04-23 08:56:42 +0000 |
| commit | 1289aeb85cb7c330283fa3049f7f11f092055004 (patch) | |
| tree | e8d1cb50409931ca29c851282a569df90477bd93 /src | |
| parent | 415cf4bcd1677c6ce10b0fcbadd15b1e9e207561 (diff) | |
| download | emacs-1289aeb85cb7c330283fa3049f7f11f092055004.tar.gz emacs-1289aeb85cb7c330283fa3049f7f11f092055004.zip | |
(x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]:
Make functions non-static.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 29 | ||||
| -rw-r--r-- | src/xdisp.c | 10 |
2 files changed, 37 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index aaa49be146d..456d03c07b3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,32 @@ | |||
| 1 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macterm.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: New variable. | ||
| 4 | (syms_of_macterm) [USE_MAC_TSM]: Defvar it. | ||
| 5 | (Qmouse_drag_overlay) [MAC_OSX]: New variable. | ||
| 6 | (syms_of_macterm) [MAC_OSX]: Intern and staticpro it. | ||
| 7 | (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) | ||
| 8 | (mac_ax_selected_text_range) [MAC_OSX]: New functions. | ||
| 9 | (mac_ax_number_of_characters) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | ||
| 10 | Likewise. | ||
| 11 | |||
| 12 | * mactoolbox.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern. | ||
| 13 | (fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range): | ||
| 14 | (mac_ax_number_of_characters): Add externs. | ||
| 15 | (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) | ||
| 16 | [USE_MAC_TSM]: Likewise. | ||
| 17 | (mac_handle_text_input_event) [MAC_OSX]: | ||
| 18 | Handle kEventTextInputOffsetToPos for no active input area case. | ||
| 19 | Handle kEventTextInputPosToOffset and kEventTextInputGetSelectedText. | ||
| 20 | (mac_handle_document_access_event) | ||
| 21 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New function. | ||
| 22 | (install_application_handler) [MAC_OSX]: Register handlers for | ||
| 23 | kEventTextInputPosToOffset and kEventTextInputGetSelectedText. | ||
| 24 | (install_application_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | ||
| 25 | Register mac_handle_document_access_event. | ||
| 26 | |||
| 27 | * xdisp.c (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]: | ||
| 28 | Make functions non-static. | ||
| 29 | |||
| 1 | 2008-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 30 | 2008-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 31 | ||
| 3 | * mac.c (create_apple_event) [TARGET_API_MAC_CARBON]: | 32 | * mac.c (create_apple_event) [TARGET_API_MAC_CARBON]: |
diff --git a/src/xdisp.c b/src/xdisp.c index f20aaedd2f7..897dd440f15 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1700,7 +1700,10 @@ glyph_to_pixel_coords (w, hpos, vpos, frame_x, frame_y) | |||
| 1700 | text, or we can't tell because W's current matrix is not up to | 1700 | text, or we can't tell because W's current matrix is not up to |
| 1701 | date. */ | 1701 | date. */ |
| 1702 | 1702 | ||
| 1703 | static struct glyph * | 1703 | #ifndef HAVE_CARBON |
| 1704 | static | ||
| 1705 | #endif | ||
| 1706 | struct glyph * | ||
| 1704 | x_y_to_hpos_vpos (w, x, y, hpos, vpos, dx, dy, area) | 1707 | x_y_to_hpos_vpos (w, x, y, hpos, vpos, dx, dy, area) |
| 1705 | struct window *w; | 1708 | struct window *w; |
| 1706 | int x, y; | 1709 | int x, y; |
| @@ -22079,7 +22082,10 @@ cursor_in_mouse_face_p (w) | |||
| 22079 | in 20.x as well, and I think it's too risky to install | 22082 | in 20.x as well, and I think it's too risky to install |
| 22080 | so near the release of 21.1. 2001-09-25 gerd. */ | 22083 | so near the release of 21.1. 2001-09-25 gerd. */ |
| 22081 | 22084 | ||
| 22082 | static int | 22085 | #ifndef HAVE_CARBON |
| 22086 | static | ||
| 22087 | #endif | ||
| 22088 | int | ||
| 22083 | fast_find_position (w, charpos, hpos, vpos, x, y, stop) | 22089 | fast_find_position (w, charpos, hpos, vpos, x, y, stop) |
| 22084 | struct window *w; | 22090 | struct window *w; |
| 22085 | int charpos; | 22091 | int charpos; |