diff options
| author | tylov <[email protected]> | 2023-07-23 23:51:02 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-07-23 23:51:02 +0200 |
| commit | dd87a488eeeffa41a06757dda2220da21337a35e (patch) | |
| tree | f9af2908c4f24775c57e87af51ed5dd08974cc0c /include | |
| parent | e8aed0431140fd0d202d302f19f756046858bad7 (diff) | |
| download | STC-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.h | 2 |
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 |
