summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cspan.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-05 21:21:55 +0100
committerTyge Løvset <[email protected]>2023-02-05 21:21:55 +0100
commite6dfaf1720f6833784d17d5364e1dd76324dff6a (patch)
tree0808f479425e58971aef993288bb818e60417422 /include/stc/cspan.h
parent217865ae413f9cfcc72af176ec7e98f418bddbea (diff)
downloadSTC-modified-e6dfaf1720f6833784d17d5364e1dd76324dff6a.tar.gz
STC-modified-e6dfaf1720f6833784d17d5364e1dd76324dff6a.zip
Some last minute changes: reverted mostly the c_extern from last commit.
Renamed c_ARGSV(sv) macro to c_SVARG(sv). Both available.
Diffstat (limited to 'include/stc/cspan.h')
-rw-r--r--include/stc/cspan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cspan.h b/include/stc/cspan.h
index f8ae9315..cc3d03b3 100644
--- a/include/stc/cspan.h
+++ b/include/stc/cspan.h
@@ -207,7 +207,7 @@ STC_API intptr_t _cspan_slice(int32_t odim[], int32_t ostri[], int* orank,
int rank, const int32_t a[][2]);
/* -------------------------- IMPLEMENTATION ------------------------- */
-#if defined(i_static) || defined(i_extern)
+#if defined(i_implement)
STC_DEF intptr_t _cspan_idxN(int rank, const int32_t shape[], const int32_t stri[], const int32_t a[]) {
intptr_t off = a[0];