Mercurial > emacs
comparison src/macterm.h @ 80516:9b6c288d125e
(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.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sat, 19 Apr 2008 01:25:15 +0000 |
parents | 04e1df7268f0 |
children | 7936a770db7a ca9efc5939fc |
comparison
equal
deleted
inserted
replaced
80515:40c9fd5e0c63 | 80516:9b6c288d125e |
---|---|
634 extern void x_free_frame_resources P_ ((struct frame *)); | 634 extern void x_free_frame_resources P_ ((struct frame *)); |
635 extern void x_destroy_window P_ ((struct frame *)); | 635 extern void x_destroy_window P_ ((struct frame *)); |
636 extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); | 636 extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); |
637 extern void x_delete_display P_ ((struct x_display_info *)); | 637 extern void x_delete_display P_ ((struct x_display_info *)); |
638 extern void mac_initialize P_ ((void)); | 638 extern void mac_initialize P_ ((void)); |
639 extern Pixmap XCreatePixmap P_ ((Display *, WindowRef, unsigned int, | 639 extern Pixmap XCreatePixmap P_ ((Display *, Window, unsigned int, |
640 unsigned int, unsigned int)); | 640 unsigned int, unsigned int)); |
641 extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowRef, char *, | 641 extern 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)); |
645 extern void XFreePixmap P_ ((Display *, Pixmap)); | 645 extern void XFreePixmap P_ ((Display *, Pixmap)); |
646 extern GC XCreateGC P_ ((Display *, void *, unsigned long, XGCValues *)); | 646 extern GC XCreateGC P_ ((Display *, void *, unsigned long, XGCValues *)); |
681 | 681 |
682 extern void mac_clear_font_name_table P_ ((void)); | 682 extern void mac_clear_font_name_table P_ ((void)); |
683 extern Lisp_Object mac_aedesc_to_lisp P_ ((const AEDesc *)); | 683 extern Lisp_Object mac_aedesc_to_lisp P_ ((const AEDesc *)); |
684 extern OSErr mac_ae_put_lisp P_ ((AEDescList *, UInt32, Lisp_Object)); | 684 extern OSErr mac_ae_put_lisp P_ ((AEDescList *, UInt32, Lisp_Object)); |
685 #if TARGET_API_MAC_CARBON | 685 #if TARGET_API_MAC_CARBON |
686 extern OSStatus create_apple_event_from_event_ref P_ ((EventRef, UInt32, | 686 extern OSErr create_apple_event P_ ((AEEventClass, AEEventID, AppleEvent *)); |
687 const EventParamName *, | 687 extern Lisp_Object mac_event_parameters_to_lisp P_ ((EventRef, UInt32, |
688 const EventParamType *, | 688 const EventParamName *, |
689 AppleEvent *)); | 689 const EventParamType *)); |
690 extern OSErr create_apple_event_from_drag_ref P_ ((DragRef, UInt32, | |
691 const FlavorType *, | |
692 AppleEvent *)); | |
693 extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); | 690 extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); |
694 extern CFStringRef cfstring_create_with_string P_ ((Lisp_Object)); | 691 extern CFStringRef cfstring_create_with_string P_ ((Lisp_Object)); |
695 extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef)); | 692 extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef)); |
696 extern Lisp_Object cfstring_to_lisp_nodecode P_ ((CFStringRef)); | 693 extern Lisp_Object cfstring_to_lisp_nodecode P_ ((CFStringRef)); |
697 extern Lisp_Object cfstring_to_lisp P_ ((CFStringRef)); | 694 extern Lisp_Object cfstring_to_lisp P_ ((CFStringRef)); |