1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-11-23 11:41:15 -05:00

start tagging uEMACS functions that are not compatible with view mode.

This commit is contained in:
2021-07-19 15:39:00 +08:00
parent 3889f1709c
commit 92c9208cd4
15 changed files with 372 additions and 354 deletions

17
names.h
View File

@@ -1,8 +1,15 @@
#ifndef _NAMES_H_
#define _NAMES_H_
#include "fnp_t.h"
/* Structure for the name binding table. */
struct name_bind {
char *n_name; /* name of function key */
int (*n_func)(int, int); /* function name is bound to */
};
typedef struct name_bind {
const char *n_name ; /* name of function key */
fnp_t n_func ; /* function name is bound to */
char tag ; /* view mode compatibility tag */
} name_bind ;
extern struct name_bind names[];/* name to function table */
extern const name_bind names[] ; /* name to function table */
#endif