diff options
| author | Tyge Løvset <[email protected]> | 2020-07-17 12:38:32 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-07-17 12:38:32 +0200 |
| commit | 5469d4ca2b05bc8d4c6b287c93fe316013efda5e (patch) | |
| tree | 53e873e4815e838a289910c67a18873abe7d5d4d /stc | |
| parent | 738f535826e098954bc8a540f93aa064c3cc0b86 (diff) | |
| download | STC-modified-5469d4ca2b05bc8d4c6b287c93fe316013efda5e.tar.gz STC-modified-5469d4ca2b05bc8d4c6b287c93fe316013efda5e.zip | |
Updated READMEmd. Removed arg from declare_CVec_str() and declare_CList_str(): Always use 'str' as tag arg.
Diffstat (limited to 'stc')
| -rw-r--r-- | stc/clist.h | 4 | ||||
| -rw-r--r-- | stc/cvec.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/stc/clist.h b/stc/clist.h index 24353af1..8577fc40 100644 --- a/stc/clist.h +++ b/stc/clist.h @@ -60,8 +60,8 @@ declare_CList_4(tag, Value, valueDestroy, c_defaultCompare)
#define declare_CList_4(tag, Value, valueDestroy, valueCompare) \
declare_CList_6(tag, Value, valueDestroy, Value, valueCompare, c_defaultGetRaw)
-#define declare_CList_str(tag) \
- declare_CList_6(tag, CStr, cstr_destroy, const char*, cstr_compareRaw, cstr_getRaw)
+#define declare_CList_str() \
+ declare_CList_6(str, CStr, cstr_destroy, const char*, cstr_compareRaw, cstr_getRaw)
#define declare_CListTypes(tag, Value) \
typedef struct CListNode_##tag { \
@@ -39,8 +39,8 @@ declare_CVec_4(tag, Value, valueDestroy, c_defaultCompare)
#define declare_CVec_4(tag, Value, valueDestroy, valueCompare) \
declare_CVec_6(tag, Value, valueDestroy, valueCompare, Value, c_defaultGetRaw)
-#define declare_CVec_str(tag) \
- declare_CVec_6(tag, CStr, cstr_destroy, cstr_compareRaw, const char*, cstr_getRaw)
+#define declare_CVec_str() \
+ declare_CVec_6(str, CStr, cstr_destroy, cstr_compareRaw, const char*, cstr_getRaw)
#define declare_CVec_6(tag, Value, valueDestroy, valueCompareRaw, RawValue, valueGetRaw) \
|
