aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-04-16 03:05:43 +0000
committerYAMAMOTO Mitsuharu2005-04-16 03:05:43 +0000
commit35e8e78731bbd055f028cbf643fe7713440a3912 (patch)
tree696533b26eabfe35e6b5740daef03326a4ea4b9f /src
parent7ca7ccd51135d24b89a97f0bcc760f7b6f78063a (diff)
downloademacs-35e8e78731bbd055f028cbf643fe7713440a3912.tar.gz
emacs-35e8e78731bbd055f028cbf643fe7713440a3912.zip
(cfstring_create_with_string) [TARGET_API_MAC_CARBON]: New extern.
Diffstat (limited to 'src')
-rw-r--r--src/macterm.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/macterm.h b/src/macterm.h
index cc0ab1a4e2b..48e028f9064 100644
--- a/src/macterm.h
+++ b/src/macterm.h
@@ -195,14 +195,14 @@ struct mac_display_info
195 int bitmaps_last; 195 int bitmaps_last;
196 196
197 /* The frame (if any) which has the window that has keyboard focus. 197 /* The frame (if any) which has the window that has keyboard focus.
198 Zero if none. This is examined by Ffocus_frame in w32fns.c. Note 198 Zero if none. This is examined by Ffocus_frame in macfns.c. Note
199 that a mere EnterNotify event can set this; if you need to know the 199 that a mere EnterNotify event can set this; if you need to know the
200 last frame specified in a FocusIn or FocusOut event, use 200 last frame specified in a FocusIn or FocusOut event, use
201 w32_focus_event_frame. */ 201 x_focus_event_frame. */
202 struct frame *x_focus_frame; 202 struct frame *x_focus_frame;
203 203
204 /* The last frame mentioned in a FocusIn or FocusOut event. This is 204 /* The last frame mentioned in a FocusIn or FocusOut event. This is
205 separate from w32_focus_frame, because whether or not LeaveNotify 205 separate from x_focus_frame, because whether or not LeaveNotify
206 events cause us to lose focus depends on whether or not we have 206 events cause us to lose focus depends on whether or not we have
207 received a FocusIn event for it. */ 207 received a FocusIn event for it. */
208 struct frame *x_focus_event_frame; 208 struct frame *x_focus_event_frame;
@@ -210,7 +210,7 @@ struct mac_display_info
210 /* The frame which currently has the visual highlight, and should get 210 /* The frame which currently has the visual highlight, and should get
211 keyboard input (other sorts of input have the frame encoded in the 211 keyboard input (other sorts of input have the frame encoded in the
212 event). It points to the focus frame's selected window's 212 event). It points to the focus frame's selected window's
213 frame. It differs from w32_focus_frame when we're using a global 213 frame. It differs from x_focus_frame when we're using a global
214 minibuffer. */ 214 minibuffer. */
215 struct frame *x_highlight_frame; 215 struct frame *x_highlight_frame;
216 216
@@ -421,7 +421,7 @@ typedef struct mac_output mac_output;
421 421
422#define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints) 422#define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints)
423 423
424/* This gives the w32_display_info structure for the display F is on. */ 424/* This gives the mac_display_info structure for the display F is on. */
425#define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info) 425#define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info)
426#define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info) 426#define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info)
427 427
@@ -627,6 +627,7 @@ extern OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int));
627extern void mac_clear_font_name_table P_ ((void)); 627extern void mac_clear_font_name_table P_ ((void));
628#if TARGET_API_MAC_CARBON 628#if TARGET_API_MAC_CARBON
629extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); 629extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *));
630extern CFStringRef cfstring_create_with_string P_ ((Lisp_Object));
630extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef)); 631extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef));
631extern Lisp_Object cfstring_to_lisp P_ ((CFStringRef)); 632extern Lisp_Object cfstring_to_lisp P_ ((CFStringRef));
632extern Lisp_Object cfnumber_to_lisp P_ ((CFNumberRef)); 633extern Lisp_Object cfnumber_to_lisp P_ ((CFNumberRef));