Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 90c0235c931559790576b208db306302805c12c9ad32f3edebf284a11e133a31
Ticket: 6e156333bcf233a26216e3ee3e94f2761e97a34b
Documentation: Contradiction in Tcl_GetSring/Tcl_GetStringFromObj vs Tcl_UpdateStringProc
User & Date: sebres on 2019-07-23 09:21:44
Changes

  1. closer changed to: "nobody"
  2. icomment:
    Oh... do you mean this sentence?
    
    <p style="padding-left:10pt; font-style: italic"> If the value's UTF string representation is invalid (its byte pointer is NULL), the string representation is regenerated from the value's internal representation.
    <b>The storage referenced by the returned byte pointer is owned by the value manager. It is passed back as a writable pointer so that extension author creating their own Tcl_ObjType will be able to modify the string representation within the Tcl_UpdateStringProc of their Tcl_ObjType.</b>
    </p>
    
    Indeed, this looks a bit confusing resp. one could understand ambiguous in this context.<br/>
    It was firstly introduced in check-in [b1c464dbcaf08c6d], and I'm still not quite following the meaning of that change.
    
    Thanks! Thus reopening.
    
  3. login: "sebres"
  4. mimetype: "text/x-fossil-wiki"
  5. resolution changed to: "None"
  6. status changed to: "Open"
  7. title changed to:
    Documentation: Contradiction in Tcl_GetSring/Tcl_GetStringFromObj vs Tcl_UpdateStringProc