Re: [ANNOUNCE] [dict] command backport for tcl8.4

From: Arjen Markus (arjen.markus_at_wldelft.nl)
Date: 05/12/04


Date: Wed, 12 May 2004 10:04:36 +0200

Pascal Scheffers wrote:
>
> Hi,
>
> after some discussion on the chat, I decided to create a
> backport-extension of the Tcl-8.5 [dict] command. I am now at the point
> where 'it works for me' and passes all the tests defined in the
> dict.test script. This extension provides the [dict] command and the Tcl
> C API as provided by Tcl-8.5, with the note that the C API is not binary
> compatible between the extension and Tcl-8.5.
>
> Get the source from:
> http://pascal.scheffers.net/software/tclDict-8.5.0.tar.gz
>
> Things that still need doing:
>
> * Real world testing.
>
> * I have only built/tested on SuSE linux 9.0, linking against 8.4.4.
> Win32, MacOSX, etc. etc. should also be tested. volunteers?
>

I will try to get it to work on Windows :)

>
> * The extension export a stubs table, which is completely untested.
> dgp asked if I could add it, I took up the challenge, but I don't really
> need it myself. If there are no volunteers, the first user will have to
> bite the bullet and I will make note of that in the documentation. If
> anyone has a smart idea on how to make the C interface binary compatible
> with Tcl-8.5, raise your hand please...
>

Hm, how would I use the stubs? If I understand it correctly, I would
use the functions from the stubs library in a C extension just as I
would
use the Tcl API, right?

Regards,

Arjen



Relevant Pages

  • Re: Is Direct3D a rip-off of OpenGL?
    ... > For me it has nothing to do with daunting, it is a messy spot in the API. ... > an 'old extension mechanism' and a 'nice new one' the old one was kept. ... OpenGL is like adding garbage collection to the C++ core language - why ... >> standard API if everybody has their own wrappers for it? ...
    (comp.graphics.api.opengl)
  • Re: TIP#308: Last serial column value generated
    ... I maintain fbsql, a MySQL TCL extension. ... If the TDBC defined an async API I would probably follow it's design. ... The fbsql extension is in the public domain. ...
    (comp.lang.tcl)
  • Re: How to cope with version conflicts?
    ... In order to use an extension across releases with 100% confidence, ... able to build a version without stubs support. ... function since Tcl 8.5. ...
    (comp.lang.tcl)
  • Re: Is Direct3D a rip-off of OpenGL?
    ... >> a disaster is the implementation of said mechanism in OpenGL. ... > extension is available, then you need to obtain the function pointer ... For me it has nothing to do with daunting, it is a messy spot in the API. ... Just as there are toolkits which abstract GDI, and DirectX. ...
    (comp.graphics.api.opengl)
  • Re: threading.py Condition wait overflow error
    ... > is flawed C code in an extension that fails to ... > check a Python C API call for an error return. ...
    (comp.lang.python)