summaryrefslogtreecommitdiffhomepage
path: root/examples/convert.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-08 21:16:00 +0200
committerTyge Løvset <[email protected]>2021-09-08 21:16:00 +0200
commitc86e3d30299baea44f98f153c4b01ea5e244feaa (patch)
tree7de3a473408bdee0017d8efa452dd5a095b61177 /examples/convert.c
parentb9e58749fb77715f4635a45377350a75ce7e0948 (diff)
downloadSTC-modified-c86e3d30299baea44f98f153c4b01ea5e244feaa.tar.gz
STC-modified-c86e3d30299baea44f98f153c4b01ea5e244feaa.zip
Updated most examples to newstyle. Some changes in cpque/cstack.
Diffstat (limited to 'examples/convert.c')
-rw-r--r--examples/convert.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/convert.c b/examples/convert.c
index 25ae9dcd..d42454ee 100644
--- a/examples/convert.c
+++ b/examples/convert.c
@@ -1,14 +1,16 @@
-#include "stc/cmap.h"
-#include "stc/csmap.h"
-#include "stc/cvec.h"
-#include "stc/clist.h"
-#include "stc/cstr.h"
+#include <stc/cstr.h>
#include <stdio.h>
-using_cmap_str();
-using_cvec_str();
-using_clist_str();
+#define i_key_str
+#define i_val_str
+#include <stc/cmap.h>
+
+#define i_val_str
+#include <stc/cvec.h>
+
+#define i_val_str
+#include <stc/clist.h>
int main()
{