Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 45fec2233472677e4fe9f1f4c0042b6c7b6beb46
Ticket: 2549883fffffffffffffffffffffffffffffffff
Tcl_CreateEnemble() lacks ClientData,Tcl_CmdDeleteProc args
User & Date: dgp on 2009-02-01 01:09:55
Changes

  1. icomment:
    The intended use case was to convert the
    slave interp command returned by [interp create]
    into an ensemble.  The motivation for that was
    to assist the NRE-enabling of [$slave invokehidden]
    to fix Tcl Bug 2486550.
    
    Since I opened this, I've learned more about NRE
    and it's now clear that conversion to an ensemble
    is not necessary, and not really even very helpful
    in tackling 2486550, so this particular motivating
    case is no longer active.
    
    Now consider it just a feature request for extensions.
    If an extension wants to create an object-like command,
    is there a recommended way to build on Tcl_CreateEnsemble()
    to achieve that?  Or is it recommended to use the OO
    C routines instead?
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"