diff options
| author | Tyge Løvset <[email protected]> | 2023-02-16 19:13:52 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-02-16 19:13:52 +0100 |
| commit | 8864c11b2b85f832ce746a902b43ecf170e2eebc (patch) | |
| tree | 8f5f51456182b96e0feb6b5869576033ed962ad6 /include/stc/priv | |
| parent | 290055ad96c22fd9dfb539d0217e45cd2f1cdb91 (diff) | |
| download | STC-modified-8864c11b2b85f832ce746a902b43ecf170e2eebc.tar.gz STC-modified-8864c11b2b85f832ce746a902b43ecf170e2eebc.zip | |
Reverted and removed maps put function. Renamed clist node api functions. Minor fix in template.h
Diffstat (limited to 'include/stc/priv')
| -rw-r--r-- | include/stc/priv/template.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/stc/priv/template.h b/include/stc/priv/template.h index 3bef2c9a..4b5c60cf 100644 --- a/include/stc/priv/template.h +++ b/include/stc/priv/template.h @@ -128,7 +128,6 @@ #elif defined i_keyboxed #define i_keyclass i_keyboxed #define i_rawclass c_PASTE(i_keyboxed, _raw) - #define i_keyfrom c_PASTE(i_keyboxed, _from) #ifndef i_no_eq #define i_eq c_PASTE(i_keyboxed, _raw_eq) #endif @@ -148,6 +147,9 @@ #if !defined i_keyto && defined i_keyraw #define i_keyto c_PASTE(i_key, _toraw) #endif + #if !defined i_keyfrom && defined i_keyraw + #define i_keyfrom c_PASTE(i_key, _from) + #endif #ifndef i_keydrop #define i_keydrop c_PASTE(i_key, _drop) #endif @@ -233,7 +235,6 @@ #elif defined i_valboxed #define i_valclass i_valboxed #define i_valraw c_PASTE(i_valboxed, _raw) - #define i_valfrom c_PASTE(i_valboxed, _from) #endif #ifdef i_valclass @@ -244,6 +245,9 @@ #if !defined i_valto && defined i_valraw #define i_valto c_PASTE(i_val, _toraw) #endif + #if !defined i_valfrom && defined i_valraw + #define i_valfrom c_PASTE(i_val, _from) + #endif #ifndef i_valdrop #define i_valdrop c_PASTE(i_val, _drop) #endif |
