Skip to content
Tcl Source Code Update of ”branch/c11-automarker”
Login

Update of ”branch/c11-automarker”

Overview

Artifact ID: 2b67f614deb42a2854dfe0facdd1b2e07e98adedc3c970af2be89aa974eebc89
Page Name:branch/c11-automarker
Date: 2025-10-14 20:30:07
Original User: dkf
Mimetype:text/x-markdown
Parent: c823ee720048888d9601c28228b2d4cfaeeadb10ef004ed4715d5d427725100b (diff)
Next 85321f489d2f78fe6b183e846afb3f5732615c9089502a352b9dd56979778bdb
Content

This is based on the much wider changes in the c-std-update branch.

It uses what one can do with variadic macros to make explicitly adding NULL to the end of sequences of arguments (notably to Tcl_SetErrorCode) unnecessary; we've had bugs with that being missing in the past!

This is a C11 feature that is recommended for adoption. It may be worth exposing to the public API; that's out of scope of this branch.