aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fontset.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/fontset.c b/src/fontset.c
index e166d596415..fa9ef93b029 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -60,25 +60,27 @@ my_strcasecmp (s0, s1)
60 the comments in src/fontset.h for more detail. */ 60 the comments in src/fontset.h for more detail. */
61 61
62/* Return a pointer to struct font_info of font FONT_IDX of frame F. */ 62/* Return a pointer to struct font_info of font FONT_IDX of frame F. */
63struct font_info *(*get_font_info_func) (/* FRAME_PTR f; int font_idx */); 63struct font_info *(*get_font_info_func) P_ ((FRAME_PTR f, int font_idx));
64 64
65/* Return a list of font names which matches PATTERN. See the document of 65/* Return a list of font names which matches PATTERN. See the document of
66 `x-list-fonts' for more detail. */ 66 `x-list-fonts' for more detail. */
67Lisp_Object (*list_fonts_func) (/* Lisp_Object pattern, face, frame, width */); 67Lisp_Object (*list_fonts_func) P_ ((Lisp_Object pattern, Lisp_Object face,
68 Lisp_Object frame, Lisp_Object width));
68 69
69/* Load a font named NAME for frame F and return a pointer to the 70/* Load a font named NAME for frame F and return a pointer to the
70 information of the loaded font. If loading is failed, return 0. */ 71 information of the loaded font. If loading is failed, return 0. */
71struct font_info *(*load_font_func) (/* FRAME_PTR f; char *name */); 72struct font_info *(*load_font_func) P_ ((FRAME_PTR f, char *name, int));
72 73
73/* Return a pointer to struct font_info of a font named NAME for frame F. */ 74/* Return a pointer to struct font_info of a font named NAME for frame F. */
74struct font_info *(*query_font_func) (/* FRAME_PTR f; char *name */); 75struct font_info *(*query_font_func) P_ ((FRAME_PTR f, char *name));
75 76
76/* Additional function for setting fontset or changing fontset 77/* Additional function for setting fontset or changing fontset
77 contents of frame F. */ 78 contents of frame F. */
78void (*set_frame_fontset_func) (/* FRAME_PTR f; Lisp_Object arg, oldval */); 79void (*set_frame_fontset_func) P_ ((FRAME_PTR f, Lisp_Object arg,
80 Lisp_Object oldval));
79 81
80/* Check if any window system is used now. */ 82/* Check if any window system is used now. */
81void (*check_window_system_func) (); 83void (*check_window_system_func) P_ ((void));
82 84
83struct fontset_data * 85struct fontset_data *
84alloc_fontset_data () 86alloc_fontset_data ()