| 116 | static cmd_to_key_map _cmds_to_keys[KMC_CONTEXT_COUNT]; |
| 117 | |
| 118 | static inline int userfunc_index(int key) |
| 119 | { |
| 120 | int index = (key <= USERFUNCBASE ? USERFUNCBASE - key : -1); |
| 121 | return index < 0 || index >= (int) userfunctions.size()? -1 : index; |
| 122 | } |
| 123 | |
| 124 | static int userfunc_index(const keyseq &seq) |
| 125 | { |
no test coverage detected