Skip to content
Tcl Source Code Changes To branch/c-std-update
Login

Changes To branch/c-std-update

Changes to "branch/c-std-update" between 2025-11-17 14:18:19 and 2025-11-17 16:40:03

︙
15
16
17
18
19
20
21
22
23


24
25
26
27
28
29
30
15
16
17
18
19
20
21


22
23
24
25
26
27
28
29
30







-
-
+
+







* __Feature: Inline Functions__
  * Widely used in Tcl for many years.
* __Feature: New Types__
  * We ought to support `<stdint.h>` more, especially in `tclLink.c`. (This would also be a good opportunity for using type-generic trickery.)
  * We can ignore complex numbers entirely; we were doing that already anyway.
  * The alignment type `max_align_t` would be useful, but isn't supported by MSVC for obscure reasons.
* __Feature: Type-Generic Functions__
  * [`c11-generic-oo-api`](https://core.tcl-lang.org/tcl/timeline?r=c11-generic-oo-api)
  * This would be a useful thing to use with `tclLink.c` though that's a public API change.
  * [`c11-generic-oo-api`](https://core.tcl-lang.org/tcl/timeline?r=c11-generic-oo-api); _public API change._
  * This would be a useful thing to use with `tclLink.c`; that's also a public API change.
* __Feature: Non-Constant Compound Values__
  * [`c11-array-literals`](https://core.tcl-lang.org/tcl/timeline?r=c11-array-literals)
  * Note that [`c11-tcloo-foreach`](https://core.tcl-lang.org/tcl/timeline?r=c11-tcloo-foreach) also uses this feature to get the declaration semantics right.
* __Feature: Restrict Qualification of Function Arguments__
  * Compilers tend to handle most of our functions by assuming restriction based on argument types. There's a few places it might be worthwhile.
* __Feature: Varargs Macros__
  * [`c11-automarker`](https://core.tcl-lang.org/tcl/timeline?r=c11-automarker)
︙