Deleted legacy type name typedefs and declaration of termkey_snprint_key()
This commit is contained in:
parent
5fc3aff57a
commit
83ca948d78
|
@ -995,7 +995,10 @@ static TermKeySym register_c0_full(TermKey *tk, TermKeySym sym, int modifier_set
|
|||
return sym;
|
||||
}
|
||||
|
||||
/* Previous name for this function */
|
||||
/* Previous name for this function
|
||||
* No longer declared in termkey.h but it remains in the compiled library for
|
||||
* backward-compatibility reasons.
|
||||
*/
|
||||
size_t termkey_snprint_key(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format)
|
||||
{
|
||||
return termkey_strfkey(tk, buffer, len, key, format);
|
||||
|
|
12
termkey.h.in
12
termkey.h.in
|
@ -197,18 +197,6 @@ char *termkey_strpkey(TermKey *tk, const char *str, TermKeyKey *key, TermKeyFo
|
|||
|
||||
int termkey_keycmp(TermKey *tk, const TermKeyKey *key1, const TermKeyKey *key2);
|
||||
|
||||
// Old name for termkey_strfkey()
|
||||
size_t termkey_snprint_key(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format);
|
||||
|
||||
// Legacy name typedefs
|
||||
|
||||
typedef TermKeySym termkey_keysym;
|
||||
typedef TermKeyType termkey_type;
|
||||
typedef TermKeyResult termkey_result;
|
||||
typedef TermKeyKey termkey_key;
|
||||
|
||||
typedef TermKey termkey_t;
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue