summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cpque.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-11-13 11:25:25 +0100
committerTyge Løvset <[email protected]>2022-11-13 11:25:25 +0100
commit99fb2a81c771739e11091b84161f03d740eab084 (patch)
tree11fcb6b1fe8497b0cfa524987ec300fdf269557e /include/stc/cpque.h
parente0fc0f2ec3846334496ab90b46ce1d69e9bbd230 (diff)
downloadSTC-modified-99fb2a81c771739e11091b84161f03d740eab084.tar.gz
STC-modified-99fb2a81c771739e11091b84161f03d740eab084.zip
Reverted forward declaration from c_declare_X back to c_forward_X, and the flag "i_opt c_declared" to "i_opt c_is_forward". Sorry about this, but hopefully not a widely used feature for most yet.
Diffstat (limited to 'include/stc/cpque.h')
-rw-r--r--include/stc/cpque.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cpque.h b/include/stc/cpque.h
index fbeafcc3..ba83474b 100644
--- a/include/stc/cpque.h
+++ b/include/stc/cpque.h
@@ -35,7 +35,7 @@
#ifndef i_less_functor
#define i_less_functor(self, x, y) i_less(x, y)
#endif
-#if !c_option(c_declared)
+#if !c_option(c_is_forward)
_cx_deftypes(_c_cpque_types, _cx_self, i_key);
#endif
typedef i_keyraw _cx_raw;