summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-07 16:20:08 +0100
committerTyge Løvset <[email protected]>2023-02-07 16:20:08 +0100
commit1353117ffc5a26709b1a00995cc6be49e1eab7ab (patch)
tree292b6928dcb82f29adef4ee0f1afc31cbb7ea9e4 /include
parentff52ba11700f446904f7d4c28a367cc692d3481b (diff)
downloadSTC-modified-1353117ffc5a26709b1a00995cc6be49e1eab7ab.tar.gz
STC-modified-1353117ffc5a26709b1a00995cc6be49e1eab7ab.zip
Small adjustment for i_allocator
Diffstat (limited to 'include')
-rw-r--r--include/stc/priv/template.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/stc/priv/template.h b/include/stc/priv/template.h
index 79627ff3..dd770839 100644
--- a/include/stc/priv/template.h
+++ b/include/stc/priv/template.h
@@ -49,13 +49,13 @@
#endif
#ifndef i_allocator
- #define i_allocator c_
+ #define i_allocator c
#endif
#ifndef i_malloc
- #define i_malloc c_PASTE(i_allocator, malloc)
- #define i_calloc c_PASTE(i_allocator, calloc)
- #define i_realloc c_PASTE(i_allocator, realloc)
- #define i_free c_PASTE(i_allocator, free)
+ #define i_malloc c_PASTE(i_allocator, _malloc)
+ #define i_calloc c_PASTE(i_allocator, _calloc)
+ #define i_realloc c_PASTE(i_allocator, _realloc)
+ #define i_free c_PASTE(i_allocator, _free)
#endif
#if !(defined i_key || defined i_key_str || defined i_key_ssv || \