Overview
| Artifact ID: | 7464c81708f83c3dcd6507aca58049009747a47927e0cb7b4db4f2fddb616cff |
|---|---|
| Ticket: | 0b7f66f817096167993fb631cd7473266955d20a
dukomentation |
| User & Date: | jan.nijtmans on 2020-07-21 08:11:06 |
Changes
- closedate changed to: "2459051.84104354"
- closer changed to: "jan.nijtmans"
- 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. - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Out of Date"
- status changed to: "Closed"