For Programmers: Free Programming Magazines  


Home > Archive > Tcl > December 2007 > Wrapping C SDK library









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 Wrapping C SDK library
Protected

2007-12-21, 4:27 am

I have a library written for usage with C/C++ and the respective
header file. How would I go about creating a wrapper to allow me to
use this SDK from Tcl? I want the simplest possible wrapper, leaving
things unchanged as much as possible. Even a push in the right
direction would help. Thank you.
palmtcl@yahoo.com

2007-12-21, 4:27 am

See http:://www.swig.org to generate Tcl binding for C API's.
/Ashok

On Dec 21, 7:06 am, Protected <myshel...@gmail.com> wrote:
> I have a library written for usage with C/C++ and the respective
> header file. How would I go about creating a wrapper to allow me to
> use this SDK from Tcl? I want the simplest possible wrapper, leaving
> things unchanged as much as possible. Even a push in the right
> direction would help. Thank you.


NullAdmin@gmail.com

2007-12-21, 8:13 am

That certainly helps. I thought I'd have to do all the work =) Thank
you very much.

On Dec 21, 5:14 am, "palm...@yahoo.com" <palm...@yahoo.com> wrote:[color=darkred]
> See http:://www.swig.orgto generate Tcl binding for C API's.
> /Ashok
>
> On Dec 21, 7:06 am, Protected <myshel...@gmail.com> wrote:
>
Sponsored Links







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

Copyright 2008 codecomments.com