summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csview.h
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 /include/stc/csview.h
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 'include/stc/csview.h')
-rw-r--r--include/stc/csview.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/stc/csview.h b/include/stc/csview.h
index d38d5f59..ee217e98 100644
--- a/include/stc/csview.h
+++ b/include/stc/csview.h
@@ -151,7 +151,7 @@ STC_INLINE bool csview_eq(const csview* x, const csview* y)
/* -------------------------- IMPLEMENTATION ------------------------- */
#ifndef CSVIEW_C_INCLUDED
-#if defined i_extern || (defined i_implement && !defined _i_no_undef)
+#if defined i_import || (defined i_implement && !defined _i_no_undef)
#define CSVIEW_C_INCLUDED
csview_iter csview_advance(csview_iter it, intptr_t pos) {
@@ -201,11 +201,10 @@ csview csview_token(csview sv, const char* sep, intptr_t* start) {
*start += tok.size + sep_size;
return tok;
}
-
#endif
#endif
#undef i_opt
#undef i_header
#undef i_implement
#undef i_static
-#undef i_extern
+#undef i_import