diff options
| author | YAMAMOTO Mitsuharu | 2008-04-19 01:25:15 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2008-04-19 01:25:15 +0000 |
| commit | e4aae3c83758bef69969b9d1cb6379fe2f1143ec (patch) | |
| tree | c442f3cc37e34be648ae4a900e02f2a61a171584 /src | |
| parent | 834263b66b4c0c45c7af133391fb905ff41fdf0a (diff) | |
| download | emacs-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.h | 15 |
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 *)); | |||
| 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)); |
| @@ -683,13 +683,10 @@ 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)); |