Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7464c81708f83c3dcd6507aca58049009747a47927e0cb7b4db4f2fddb616cff
Ticket: 0b7f66f817096167993fb631cd7473266955d20a
dukomentation
User & Date: jan.nijtmans on 2020-07-21 08:11:06
Changes

  1. closedate changed to: "2459051.84104354"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    Well: "The only supported public values of this flag are .."
    
    So, this means that the PRIVATE_METHOD flag value is not supported for Tcl 8.6. That doesn't mean it cannot be used, you'r just on your own if you do that.
    
    In Tcl 8.7, those flags are supported:
    <pre>
    $ man Tcl_NewMethod
    int flags (in)                      A  flag  saying  (currently)  what  the  visibility  of  the  method  is.  The  supported  public  values  of this flag are
                                               TCL_OO_METHOD_PUBLIC (which is fixed at 1 for backward compatibility)  for  an  exported  method,  TCL_OO_METHOD_UNEXPORTED
                                               (which is fixed at 0 for backward compatibility) for a non-exported method, and TCL_OO_METHOD_PRIVATE for a private method. │
    
    </pre>
    
    So, if you want to use this, try Tcl 8.7. I don't think it's wise to start supporting this on 8.6 and update the documentation, since the TIP adding this was only accepted for Tcl 8.7.
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"
  6. resolution changed to: "Out of Date"
  7. status changed to: "Closed"