Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c5e0068f451ffbd054f786fd62d3fe8a46d43756
Ticket: 3097212fffffffffffffffffffffffffffffffff
Linking extension with stubs
User & Date: dkf on 2010-10-28 20:32:37
Changes

  1. icomment:
    Solution part #1: You need to link with the tclstub library.
    Solution part #2: The Add_Init function needs to have 'extern "C"' linkage or [load] will never be able to do anything with the lib.
    Solution part #3: Tcl_PkgProvide's second argument needs to be the package name (e.g., "add" in this case).
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"