diff options
| author | Andreas Schwab | 1997-11-21 15:01:36 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1997-11-21 15:01:36 +0000 |
| commit | 5771dcf40d62075378566eed949fe42a374fdee3 (patch) | |
| tree | cfb4ccc316d391aeebab950494b31e4e342e17f7 | |
| parent | 22e6f12b3bf270b131431058c8a6c61db6de01fc (diff) | |
| download | emacs-5771dcf40d62075378566eed949fe42a374fdee3.tar.gz emacs-5771dcf40d62075378566eed949fe42a374fdee3.zip | |
Protoize functions declarations.
| -rw-r--r-- | src/fontset.c | 14 |
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. */ |
| 63 | struct font_info *(*get_font_info_func) (/* FRAME_PTR f; int font_idx */); | 63 | struct 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. */ |
| 67 | Lisp_Object (*list_fonts_func) (/* Lisp_Object pattern, face, frame, width */); | 67 | Lisp_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. */ |
| 71 | struct font_info *(*load_font_func) (/* FRAME_PTR f; char *name */); | 72 | struct 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. */ |
| 74 | struct font_info *(*query_font_func) (/* FRAME_PTR f; char *name */); | 75 | struct 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. */ |
| 78 | void (*set_frame_fontset_func) (/* FRAME_PTR f; Lisp_Object arg, oldval */); | 79 | void (*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. */ |
| 81 | void (*check_window_system_func) (); | 83 | void (*check_window_system_func) P_ ((void)); |
| 82 | 84 | ||
| 83 | struct fontset_data * | 85 | struct fontset_data * |
| 84 | alloc_fontset_data () | 86 | alloc_fontset_data () |