From 93ad8ad96bb9863d49921dd51056b650b1766fba Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Fri, 5 May 2006 06:44:55 +0000 Subject: [PATCH] (mac_make_lispy_event_code): Remove extern. (mac_post_mouse_moved_event): Add extern. (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to `const AEDesc *' in externs. (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern. --- src/macterm.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/macterm.h b/src/macterm.h index f23554f01c6..fdc74cb6376 100644 --- a/src/macterm.h +++ b/src/macterm.h @@ -586,8 +586,8 @@ extern void mac_clear_area P_ ((struct frame *, int, int, extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); extern OSErr install_window_handler P_ ((WindowPtr)); extern void remove_window_handler P_ ((WindowPtr)); -extern Lisp_Object mac_make_lispy_event_code P_ ((int)); extern void do_menu_choice P_ ((SInt32)); +extern OSStatus mac_post_mouse_moved_event P_ ((void)); #if USE_CG_DRAWING extern void mac_prepare_for_quickdraw P_ ((struct frame *)); #endif @@ -623,12 +623,15 @@ extern void free_frame_menubar P_ ((struct frame *)); /* Defined in mac.c. */ extern void mac_clear_font_name_table P_ ((void)); -extern Lisp_Object mac_aedesc_to_lisp P_ ((AEDesc *)); +extern Lisp_Object mac_aedesc_to_lisp P_ ((const AEDesc *)); #if TARGET_API_MAC_CARBON extern OSErr create_apple_event_from_event_ref P_ ((EventRef, UInt32, EventParamName *, EventParamType *, AppleEvent *)); +extern OSErr create_apple_event_from_drag_ref P_ ((DragRef, UInt32, + FlavorType *, + AppleEvent *)); extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); extern CFStringRef cfstring_create_with_string P_ ((Lisp_Object)); extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef)); -- 2.39.2