summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csset.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-12 23:04:33 +0200
committerTyge Løvset <[email protected]>2021-09-12 23:04:33 +0200
commitfa2871406affad4d96a54554f80c7418a716b98c (patch)
tree8062af12ca689538ee8d6882c6f06bdb05e29a1f /include/stc/csset.h
parent1a9020f895754f564e480ba9ed564c637f26060e (diff)
downloadSTC-modified-fa2871406affad4d96a54554f80c7418a716b98c.tar.gz
STC-modified-fa2871406affad4d96a54554f80c7418a716b98c.zip
Renamed input macro i_module to i_prefix. Replaced astar.c example.
Now supports that user defines i_prefix.
Diffstat (limited to 'include/stc/csset.h')
-rw-r--r--include/stc/csset.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/stc/csset.h b/include/stc/csset.h
index 44fbfa54..19cf147c 100644
--- a/include/stc/csset.h
+++ b/include/stc/csset.h
@@ -42,7 +42,9 @@ int main(void) {
}
*/
-#define i_module csset
+#ifndef i_prefix
+#define i_prefix csset_
+#endif
#define cx_MAP_ONLY c_false
#define cx_SET_ONLY c_true
#define cx_keyref(vp) (vp)