[Gambas-devel] Re: Linking to a c library (libxxx.so.0
jorisenpetra at ...182...
Thu Nov 11 20:52:04 CET 2004
Extended the example to include a double return value. I'm having a bit
off a problem with it. If I make the double bigger than 8 digits I get
On Thu, 2004-11-11 at 12:21 +0100, Benoit Minisini wrote:
> On Wednesday 10 November 2004 22:28, Joris Meijer wrote:
> > I think the general idee should work for all platforms although a big
> > enidian might couse some problems. But these problems would be
> > fixable:-)
> > Probebly the inline assembly would need to be adjusted for non gcc
> > compilers but it is not a lot off assembly so this would not be that big
> > a deal.
> > I think the example is not perfect but it shows that it is possible to
> > link to a C-library without knowing the function prototype at compile
> > time. I would like to know how you think about it and if you think it
> > possible to include such a feature in gambas??
> Of course I will :-)
> > greetz Joris Meijer
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3905 bytes
Desc: not available
More information about the Devel