Commit 14af1e44 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(TYPE_FILE_NAME): New define.

(posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs.
parent 0e0a1663
2005-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.h (TYPE_FILE_NAME): New define.
(posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs.
* mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Add
prototypes. Make static.
(mac_aedesc_to_lisp): Initialize err to noErr.
(mac_coerce_file_name_ptr, mac_coerce_file_name_desc)
(init_coercion_handler): New functions.
(Fmac_coerce_ae_data): Use coercion of Apple event data for
translation from/to file names.
* macterm.c: Don't include sys/param.h.
(init_coercion_handler): Add extern.
[MAC_OS8] (main): Call init_coercion_handler.
(mac_initialize) [MAC_OSX]: Likewise.
[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of
Apple event data for translation from/to file names.
* macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise.
* image.c [MAC_OS] (find_image_fsspec): Likewise.
2005-12-23 Martin Rudalics <rudalics@gmx.at> (tiny change) 2005-12-23 Martin Rudalics <rudalics@gmx.at> (tiny change)
   
* insdel.c (insert, insert_and_inherit, insert_before_markers) * insdel.c (insert, insert_and_inherit, insert_before_markers)
......
...@@ -569,14 +569,14 @@ extern Lisp_Object mac_make_lispy_event_code P_ ((int)); ...@@ -569,14 +569,14 @@ extern Lisp_Object mac_make_lispy_event_code P_ ((int));
#define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0
#define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0
#define TYPE_FILE_NAME 'fNam'
/* Defined in macselect.c */ /* Defined in macselect.c */
extern void x_clear_frame_selections P_ ((struct frame *)); extern void x_clear_frame_selections P_ ((struct frame *));
/* Defined in mac.c. */ /* Defined in mac.c. */
extern OSErr posix_pathname_to_fsspec P_ ((const char *, FSSpec *));
extern OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int));
extern void mac_clear_font_name_table P_ ((void)); 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_ ((AEDesc *));
#if TARGET_API_MAC_CARBON #if TARGET_API_MAC_CARBON
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment