diff options
| author | YAMAMOTO Mitsuharu | 2005-12-10 01:50:02 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-12-10 01:50:02 +0000 |
| commit | 24d5a45ded91505770685a09073d6c60007a4258 (patch) | |
| tree | 941f55770643f943d08b669143ee725df5359cee /src | |
| parent | 6a0b5d3781c988dbb3580d64a7a453250702e10c (diff) | |
| download | emacs-24d5a45ded91505770685a09073d6c60007a4258.tar.gz emacs-24d5a45ded91505770685a09073d6c60007a4258.zip | |
(mac_make_lispy_event_code, mac_aedesc_to_lisp): Add externs.
(create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise.
(Fmac_get_preference): Add EXFUN.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macterm.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/macterm.h b/src/macterm.h index 1c967e32741..69e309562e5 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -79,7 +79,7 @@ struct mac_display_info | |||
| 79 | /* Number of planes on this screen. */ | 79 | /* Number of planes on this screen. */ |
| 80 | int n_planes; | 80 | int n_planes; |
| 81 | 81 | ||
| 82 | /* Whether the screen supports color */ | 82 | /* Whether the screen supports color */ |
| 83 | int color_p; | 83 | int color_p; |
| 84 | 84 | ||
| 85 | /* Dimensions of this screen. */ | 85 | /* Dimensions of this screen. */ |
| @@ -567,6 +567,7 @@ extern void mac_clear_area P_ ((struct frame *, int, int, | |||
| 567 | extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); | 567 | extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); |
| 568 | extern OSErr install_window_handler P_ ((WindowPtr)); | 568 | extern OSErr install_window_handler P_ ((WindowPtr)); |
| 569 | extern void remove_window_handler P_ ((WindowPtr)); | 569 | extern void remove_window_handler P_ ((WindowPtr)); |
| 570 | extern Lisp_Object mac_make_lispy_event_code P_ ((int)); | ||
| 570 | 571 | ||
| 571 | #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 | 572 | #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
| 572 | #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 | 573 | #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 |
| @@ -580,7 +581,12 @@ extern void x_clear_frame_selections P_ ((struct frame *)); | |||
| 580 | extern OSErr posix_pathname_to_fsspec P_ ((const char *, FSSpec *)); | 581 | extern OSErr posix_pathname_to_fsspec P_ ((const char *, FSSpec *)); |
| 581 | extern OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int)); | 582 | extern OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int)); |
| 582 | extern void mac_clear_font_name_table P_ ((void)); | 583 | extern void mac_clear_font_name_table P_ ((void)); |
| 584 | extern Lisp_Object mac_aedesc_to_lisp P_ ((AEDesc *)); | ||
| 583 | #if TARGET_API_MAC_CARBON | 585 | #if TARGET_API_MAC_CARBON |
| 586 | extern OSErr create_apple_event_from_event_ref P_ ((EventRef, UInt32, | ||
| 587 | EventParamName *, | ||
| 588 | EventParamType *, | ||
| 589 | UInt32 *, AppleEvent *)); | ||
| 584 | extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); | 590 | extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); |
| 585 | extern CFStringRef cfstring_create_with_string P_ ((Lisp_Object)); | 591 | extern CFStringRef cfstring_create_with_string P_ ((Lisp_Object)); |
| 586 | extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef)); | 592 | extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef)); |
| @@ -595,6 +601,7 @@ extern Lisp_Object cfproperty_list_to_lisp P_ ((CFPropertyListRef, int, int)); | |||
| 595 | extern void xrm_merge_string_database P_ ((XrmDatabase, char *)); | 601 | extern void xrm_merge_string_database P_ ((XrmDatabase, char *)); |
| 596 | extern Lisp_Object xrm_get_resource P_ ((XrmDatabase, char *, char *)); | 602 | extern Lisp_Object xrm_get_resource P_ ((XrmDatabase, char *, char *)); |
| 597 | extern XrmDatabase xrm_get_preference_database P_ ((char *)); | 603 | extern XrmDatabase xrm_get_preference_database P_ ((char *)); |
| 604 | EXFUN (Fmac_get_preference, 4); | ||
| 598 | 605 | ||
| 599 | /* arch-tag: 6b4ca125-5bef-476d-8ee8-31ed808b7e79 | 606 | /* arch-tag: 6b4ca125-5bef-476d-8ee8-31ed808b7e79 |
| 600 | (do not change this comment) */ | 607 | (do not change this comment) */ |