[Y-devel] C API?

Richard Hills richard at playford.net
Sat Feb 21 23:46:17 GMT 2004


On Sat, 2004-02-21 at 21:37, Mark Thomas wrote:
> On Sat, 21 Feb 2004, Brandon Black wrote:
> 
> > Is there a C API yet?  I saw the C++ one (libYc++), and I see a "Yc",
> > but it doesn't appear to have all the widget interfaces and things I
> > would expect, just a couple messaging calls.  Am I missing something here?
> 
> There isn't a libYc yet.  There is a libY which was supposed to be the
> messaging system common to many language implementations, but I decided
> that is was probably easier just to include the messaging system in
> libYc++.
> 
> If you want to start writing a C interface, feel free, though I warn you
> the client API is likely to change quite a bit in the first few stages of
> development.

        This is something I'd be happy to do. I was wondering, is it possible
for a C interface to use the underlying C++ interface, in order to
reduce code duplication? As far as I understand it, the C interface for
GTK is the base for several other language wrappers, so is it possible
to do the same thing in reverse? Thanks,

Richard




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved