Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2001 19:03:08 -0400
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        Jordan Hubbard <jkh@freebsd.org>
Cc:        freebsd-libh@freebsd.org
Subject:   Re: basic label editor stub, take II
Message-ID:  <20011008190308.H83944@shall.anarcat.dyndns.org>
In-Reply-To: <20011008185737.G83944@shall.anarcat.dyndns.org>
References:  <20011008142300.B53336@shall.anarcat.dyndns.org> <20011008133800B.jkh@freebsd.org> <20011008185737.G83944@shall.anarcat.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--gm5TwAJMO0F2iVRz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon Oct 08, 2001 at 06:57:38PM -0400, The Anarcat wrote:
> On Mon Oct 08, 2001 at 01:38:00PM -0700, Jordan Hubbard wrote:
> > > Anyways, this interface is getting rather heavy. Isn't there a way to
> > > export tables such as sliceTypeNames[] from C/C++ to TCL?
> >=20
> > 2. Register a sliceTypeNames procedure instead (also from C) which
> >    takes an index as an argument and returns the relevent data.  This
> >    allows the sliceTypeNames variable to have more dynamic contents,
> >    and it's comparatively easy to use [sliceTypeNames 1] from TCL
> >    in lieu of sliceTypeNames(1).

Additional note, it's much more space-efficient. To store the
sliceTypesNames array and index it directly, one would need at least 184
indexes, most of which would be empty. :)

A.


--gm5TwAJMO0F2iVRz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjvCMKsACgkQttcWHAnWiGc+yACfQG4/IDU8oJhQrWkw5oA1d5qp
M8IAniwsKqWOYzxJ6WOhfeSPWj7tSCaI
=OIx0
-----END PGP SIGNATURE-----

--gm5TwAJMO0F2iVRz--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-libh" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011008190308.H83944>