summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-23 23:51:02 +0200
committertylov <[email protected]>2023-07-23 23:51:02 +0200
commitdd87a488eeeffa41a06757dda2220da21337a35e (patch)
treef9af2908c4f24775c57e87af51ed5dd08974cc0c /include
parente8aed0431140fd0d202d302f19f756046858bad7 (diff)
downloadSTC-modified-dd87a488eeeffa41a06757dda2220da21337a35e.tar.gz
STC-modified-dd87a488eeeffa41a06757dda2220da21337a35e.zip
- algo/sort.h: Use plural form of i_key (or i_val) to define default name for sort, like: <i_key>s_sort_n(data, n).
- Updated some examples.
Diffstat (limited to 'include')
-rw-r--r--include/stc/algo/sort.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/algo/sort.h b/include/stc/algo/sort.h
index 06d7395f..86c9b9f1 100644
--- a/include/stc/algo/sort.h
+++ b/include/stc/algo/sort.h
@@ -70,7 +70,7 @@ int main(void) {
#ifndef i_tag
#define i_tag i_key
#endif
- #define i_type c_PASTE(i_tag, array)
+ #define i_type c_PASTE(i_tag, s)
typedef i_key i_type;
#endif
#ifndef i_at