For Programmers: Free Programming Magazines  


Home > Archive > Tcl > December 2004 > tcl and c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author tcl and c
hind

2004-12-20, 4:00 pm

I want to import some c functions , but I don't know the steps to do
that , can any one help me to do that ?
Christian Gollwitzer

2004-12-21, 8:57 pm

hind wrote:
> I want to import some c functions , but I don't know the steps to do
> that , can any one help me to do that ?


Use SWIG:

http://www.swig.org/

Very easy to use

Christian
David N. Welton

2004-12-21, 8:57 pm

Christian Gollwitzer <auriocus@btcips73x1.cip.uni-bayreuth.de> writes:

> hind wrote:
>
> Use SWIG:
>
> http://www.swig.org/
>
> Very easy to use


Depends how many functions, though. SWIG code is often much uglier
than hand crafted code.

--
David N. Welton
Personal: http://www.dedasys.com/davidw/
Apache Tcl: http://tcl.apache.org/
Free Software: http://www.dedasys.com/freesoftware/
Linux Incompatibility List: http://www.leenooks.com/
Cameron Laird

2004-12-21, 8:57 pm

In article <87oegntj05.fsf@dedasys.com>,
David N. Welton <davidw@dedasys.com> wrote:
>Christian Gollwitzer <auriocus@btcips73x1.cip.uni-bayreuth.de> writes:
>
>
>Depends how many functions, though. SWIG code is often much uglier
>than hand crafted code.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com