Overview
| Artifact ID: | 846e4bd76457928b844c6f732e5d908b04d366c041166d5417c0cf1ed8cf76ba |
|---|---|
| Ticket: | 14680527328fdcadb5e558c998621d28eb607db4
Changes to Tcl_GetByteArrayFromObj not correct? |
| User & Date: | jan.nijtmans on 2023-09-25 18:42:12 |
Changes
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2460213.279315"
- closer changed to: "jan.nijtmans"
- icomment:
> Either Stub 41 should be removed, or defined as taking an `int*` so that compiler will catch these errors. The way it is currently defined serves no utility afaict but I'm wary of changing it myself in case there is some use I don't see. The use for this function is [https://core.tcl-lang.org/tcl/file?name=generic/tclDecls.h&ci=35a5f655f5b9e16e&ln=4090-4093|here]. It isn't meant to be called directly by extensions. I would prefer your example code snippet to produce a compiler error, I'll think about it how to do that. Anyway, I don't like it when you hijack an unrelated ticket ..... Closing (since changing "int *" to "Tcl_Size *" was a good idea, reduces confusion
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"