From 58bb58e7980d1eae175ed66dbe873893a05ab81e Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 30 May 2022 14:22:44 +0200 Subject: Done refactoring: - Non-templated types (cstr, csview, cbits, crandom) have no longer default static linking. Now i_header is defined, i.e. files are as headers only. ==> Define `i_implement` before file inclusion. Still possible to do static linkage by defining `i_static` before inclusion or global STC_STATIC. - Templated containers still have static linkage by default. - Renamed csview_substr(), csview_slice() to csview_substr_ex(), csview_slice_ex(). Added simpler inlined csview_substr(), csview_slice(). --- examples/astar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/astar.c') diff --git a/examples/astar.c b/examples/astar.c index bce03716..5bcbe7e9 100644 --- a/examples/astar.c +++ b/examples/astar.c @@ -4,7 +4,7 @@ // This is a reimplementation of the CTL example to STC: // https://github.com/glouw/ctl/blob/master/examples/astar.c // https://www.redblobgames.com/pathfinding/a-star/introduction.html - +#define i_implement #include #include -- cgit v1.2.3