diff options
| author | Tyge Løvset <[email protected]> | 2020-08-01 20:40:20 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-08-01 20:40:20 +0200 |
| commit | 8960cd258078623ba99c342b42cd73df003564ea (patch) | |
| tree | 2f17f9d75bc3155ee2b5b4d62af9da1f1480e4b7 | |
| parent | 9d776ddba802e7faab32a0d7ae5a8b57979d4341 (diff) | |
| download | STC-modified-8960cd258078623ba99c342b42cd73df003564ea.tar.gz STC-modified-8960cd258078623ba99c342b42cd73df003564ea.zip | |
Small macro usage fix.
| -rw-r--r-- | stc/cmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -178,10 +178,10 @@ ctype##_##tag##_set_load_factors(ctype##_##tag* self, float max, float shrink) { } \
STC_API ctype##_##tag##_entry_t* \
ctype##_##tag##_find(const ctype##_##tag* self, ctype##_##tag##_rawkey_t rawKey); \
-STC_API ctype##_##tag##_entry_t* /* like c++ std::map.insert_or_assign(), or operator[]: */ \
+STC_API ctype##_##tag##_entry_t* /* like c++ std::map.insert_or_assign(): */ \
ctype##_##tag##_put(ctype##_##tag* self, OPT_2_##ctype(ctype##_##tag##_rawkey_t rawKey, Value value)); \
-OPT_1_##ctype(STC_API ctype##_##tag##_entry_t* /* like c++ std::map.insert(): */ \
-ctype##_##tag##_insert(ctype##_##tag* self, ctype##_##tag##_rawkey_t rawKey, Value value);) \
+STC_API ctype##_##tag##_entry_t* /* like c++ std::map.insert(): */ \
+ctype##_##tag##_insert(ctype##_##tag* self, OPT_2_##ctype(ctype##_##tag##_rawkey_t rawKey, Value value)); \
STC_INLINE void \
ctype##_##tag##_swap(ctype##_##tag* a, ctype##_##tag* b) { c_swap(ctype##_##tag, *a, *b); } \
STC_API size_t \
|
