diff options
| author | Tyge Løvset <[email protected]> | 2022-02-16 23:33:58 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-02-16 23:33:58 +0100 |
| commit | fde8f4a37c42a3611b544185806155a02e24227e (patch) | |
| tree | 4125f1b1f25cbcdf9394956daa6301cc8f207163 /examples | |
| parent | e7585be46ff8a7f37b57d944f90b401978db4e53 (diff) | |
| download | STC-modified-fde8f4a37c42a3611b544185806155a02e24227e.tar.gz STC-modified-fde8f4a37c42a3611b544185806155a02e24227e.zip | |
Refactoring. Added size type param to forward_cmap/csmap . Reverted c_autovar macros. Added utf8_encode (not used yet).
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/new_map.c | 2 | ||||
| -rw-r--r-- | examples/new_smap.c | 2 | ||||
| -rw-r--r-- | examples/replace.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/new_map.c b/examples/new_map.c index 97fce008..a7008e4f 100644 --- a/examples/new_map.c +++ b/examples/new_map.c @@ -1,7 +1,7 @@ #include <stc/cstr.h>
#include <stc/forward.h>
-forward_cmap(cmap_pnt, struct Point, int);
+forward_cmap(cmap_pnt, struct Point, int, uint32_t);
struct MyStruct {
cmap_pnt pntmap;
diff --git a/examples/new_smap.c b/examples/new_smap.c index 382d27ae..431f18c4 100644 --- a/examples/new_smap.c +++ b/examples/new_smap.c @@ -1,7 +1,7 @@ #include <stc/cstr.h>
#include <stc/forward.h>
-forward_csmap(PMap, struct Point, int);
+forward_csmap(PMap, struct Point, int, uint32_t);
// Use forward declared PMap in struct
struct MyStruct {
diff --git a/examples/replace.c b/examples/replace.c index bc28cb2a..c425e4f8 100644 --- a/examples/replace.c +++ b/examples/replace.c @@ -1,5 +1,6 @@ #include <stc/cstr.h>
+#include <stc/utf8.h>
int main ()
{
|
