diff options
| author | Tyge Lovset <[email protected]> | 2022-04-18 12:12:01 +0200 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2022-04-18 12:12:01 +0200 |
| commit | b0d60c33a073782fe0bb08c835ca9db0b94145d0 (patch) | |
| tree | 1683369ec66467720502b3d904bf9ab11343076e /examples/complex.c | |
| parent | 00804d9ff488f63468a0bb528c7b807aea7c3ea3 (diff) | |
| download | STC-modified-b0d60c33a073782fe0bb08c835ca9db0b94145d0.tar.gz STC-modified-b0d60c33a073782fe0bb08c835ca9db0b94145d0.zip | |
Removed i_drop and i_from template specifiers to reduce redundancies and add clarity (error given if used): use i_valdrop/i_valfrom and i_keydrop/i_keyfrom instead.
Added missing at_mut() function to cdeq.
Diffstat (limited to 'examples/complex.c')
| -rw-r--r-- | examples/complex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/complex.c b/examples/complex.c index 9ccd2dae..ef7f711f 100644 --- a/examples/complex.c +++ b/examples/complex.c @@ -4,8 +4,8 @@ void check_drop(float* v) {printf("destroy %g\n", *v);} #define i_type FloatStack
#define i_val float
-#define i_drop check_drop
-#define i_from c_default_from
+#define i_valdrop check_drop
+#define i_valfrom c_default_from
#include <stc/cstack.h>
#define i_type StackList
|
