summaryrefslogtreecommitdiffhomepage
path: root/misc
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-06-09 22:37:15 +0200
committerTyge Løvset <[email protected]>2023-06-09 22:37:15 +0200
commit5f935739d2ce280beda36c7a7ddb0e0ee34c8fb3 (patch)
tree2cdd210fefa5eae54a384f980442195659a77fac /misc
parent72b0f0e7839b487a5df7c79ffe84511480cad251 (diff)
downloadSTC-modified-5f935739d2ce280beda36c7a7ddb0e0ee34c8fb3.tar.gz
STC-modified-5f935739d2ce280beda36c7a7ddb0e0ee34c8fb3.zip
Rename i_extern template flag to i_import. i_extern still available, but deprecated.
Diffstat (limited to 'misc')
-rw-r--r--misc/examples/forfilter.c2
-rw-r--r--misc/examples/regex1.c2
-rw-r--r--misc/examples/regex2.c2
-rw-r--r--misc/examples/regex_match.c2
-rw-r--r--misc/examples/regex_replace.c2
-rw-r--r--misc/examples/splitstr.c2
-rw-r--r--misc/tests/cregex_test.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/misc/examples/forfilter.c b/misc/examples/forfilter.c
index f9505aa9..94a84065 100644
--- a/misc/examples/forfilter.c
+++ b/misc/examples/forfilter.c
@@ -1,5 +1,5 @@
#include <stdio.h>
-#define i_extern
+#define i_import
#include <stc/cstr.h>
#define i_implement
#include <stc/csview.h>
diff --git a/misc/examples/regex1.c b/misc/examples/regex1.c
index 4a56b8ac..d8032358 100644
--- a/misc/examples/regex1.c
+++ b/misc/examples/regex1.c
@@ -1,4 +1,4 @@
-#define i_extern
+#define i_import
#include <stc/cregex.h>
int main(int argc, char* argv[])
diff --git a/misc/examples/regex2.c b/misc/examples/regex2.c
index 3133f7c2..5718a1d8 100644
--- a/misc/examples/regex2.c
+++ b/misc/examples/regex2.c
@@ -1,4 +1,4 @@
-#define i_extern
+#define i_import
#include <stc/cregex.h>
int main()
diff --git a/misc/examples/regex_match.c b/misc/examples/regex_match.c
index b4932015..ebda366f 100644
--- a/misc/examples/regex_match.c
+++ b/misc/examples/regex_match.c
@@ -1,4 +1,4 @@
-#define i_extern
+#define i_import
#include <stc/cregex.h>
#define i_implement
#include <stc/csview.h>
diff --git a/misc/examples/regex_replace.c b/misc/examples/regex_replace.c
index cad195d5..2c7794af 100644
--- a/misc/examples/regex_replace.c
+++ b/misc/examples/regex_replace.c
@@ -1,4 +1,4 @@
-#define i_extern
+#define i_import
#include <stc/cregex.h>
#include <stc/csview.h>
#include <stc/algo/raii.h>
diff --git a/misc/examples/splitstr.c b/misc/examples/splitstr.c
index 658c46a1..32b5f17f 100644
--- a/misc/examples/splitstr.c
+++ b/misc/examples/splitstr.c
@@ -1,5 +1,5 @@
#include <stdio.h>
-#define i_extern // cstr + utf8 functions
+#define i_import // cstr + utf8 functions
#include <stc/cregex.h>
#define i_implement
#include <stc/csview.h>
diff --git a/misc/tests/cregex_test.c b/misc/tests/cregex_test.c
index 301ecf4f..3ddcc608 100644
--- a/misc/tests/cregex_test.c
+++ b/misc/tests/cregex_test.c
@@ -1,4 +1,4 @@
-#define i_extern
+#define i_import
#include <stc/cregex.h>
#include <stc/csview.h>
#include <stc/algo/raii.h>