aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2008-04-19 01:25:15 +0000
committerYAMAMOTO Mitsuharu2008-04-19 01:25:15 +0000
commite4aae3c83758bef69969b9d1cb6379fe2f1143ec (patch)
treec442f3cc37e34be648ae4a900e02f2a61a171584 /src
parent834263b66b4c0c45c7af133391fb905ff41fdf0a (diff)
downloademacs-e4aae3c83758bef69969b9d1cb6379fe2f1143ec.tar.gz
emacs-e4aae3c83758bef69969b9d1cb6379fe2f1143ec.zip
(XCreatePixmap, XCreatePixmapFromBitmapData): Use Window
instead of WindowRef in argument type. (create_apple_event_from_event_ref, create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: Remove externs. (create_apple_event, mac_event_parameters_to_lisp) [TARGET_API_MAC_CARBON]: Add externs.
Diffstat (limited to 'src')
-rw-r--r--src/macterm.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/macterm.h b/src/macterm.h
index 8b9eda7a3bb..56d6081c829 100644
--- a/src/macterm.h
+++ b/src/macterm.h
@@ -636,9 +636,9 @@ extern void x_destroy_window P_ ((struct frame *));
636extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); 636extern void x_wm_set_size_hint P_ ((struct frame *, long, int));
637extern void x_delete_display P_ ((struct x_display_info *)); 637extern void x_delete_display P_ ((struct x_display_info *));
638extern void mac_initialize P_ ((void)); 638extern void mac_initialize P_ ((void));
639extern Pixmap XCreatePixmap P_ ((Display *, WindowRef, unsigned int, 639extern Pixmap XCreatePixmap P_ ((Display *, Window, unsigned int,
640 unsigned int, unsigned int)); 640 unsigned int, unsigned int));
641extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowRef, char *, 641extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, Window, char *,
642 unsigned int, unsigned int, 642 unsigned int, unsigned int,
643 unsigned long, unsigned long, 643 unsigned long, unsigned long,
644 unsigned int)); 644 unsigned int));
@@ -683,13 +683,10 @@ extern void mac_clear_font_name_table P_ ((void));
683extern Lisp_Object mac_aedesc_to_lisp P_ ((const AEDesc *)); 683extern Lisp_Object mac_aedesc_to_lisp P_ ((const AEDesc *));
684extern OSErr mac_ae_put_lisp P_ ((AEDescList *, UInt32, Lisp_Object)); 684extern OSErr mac_ae_put_lisp P_ ((AEDescList *, UInt32, Lisp_Object));
685#if TARGET_API_MAC_CARBON 685#if TARGET_API_MAC_CARBON
686extern OSStatus create_apple_event_from_event_ref P_ ((EventRef, UInt32, 686extern OSErr create_apple_event P_ ((AEEventClass, AEEventID, AppleEvent *));
687 const EventParamName *, 687extern Lisp_Object mac_event_parameters_to_lisp P_ ((EventRef, UInt32,
688 const EventParamType *, 688 const EventParamName *,
689 AppleEvent *)); 689 const EventParamType *));
690extern OSErr create_apple_event_from_drag_ref P_ ((DragRef, UInt32,
691 const FlavorType *,
692 AppleEvent *));
693extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); 690extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *));
694extern CFStringRef cfstring_create_with_string P_ ((Lisp_Object)); 691extern CFStringRef cfstring_create_with_string P_ ((Lisp_Object));
695extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef)); 692extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef));