harry:build mooneer$ cat dylib.kt
import "interface.language.c";
libm = make interface.language.c("/usr/lib/libm.dylib");
libm|add_method("sin", interface.language.c.param_types.double, [interface.language.c.param_types.double]);
x = 3.1415/2.0;
libm|sin(x)|print;
harry:build mooneer$ bin/kite dylib.kt
1.000000
harry:build mooneer$ file bin/kite
bin/kite: Mach-O 64-bit executable x86_64
harry:build mooneer$
-Mooneer
On Wed, Jan 5, 2011 at 1:38 PM, Mooneer Salem
<address@hidden> wrote:
I'll have to check when I get home, but I'm pretty sure the version I have works in 64-bit Intel OSX, or at least compiles, anyway. (I'm the owner of the Kite programming language, which also uses C/Invoke).
-Mooneer
Hi Dwight...
I don't think the project is still "alive" as such but as of this writing I'm still alive, so I'd be happy to help you in whatever capacity I can.
First of all I restarted the subversion server.
Secondly, I would love to have a new release of C/Invoke with support for Windows x64, (OS X Intel would be great too but is a little more of a pain), as well as some general clean-up and the other patches that people have sent in since the last release which are already checked in to subversion.
I'd also like to see the project moved off of savannah onto google code as well; google code works really well in my experience and savannah is sort of bleh these days.
So, if you want to start a new google code project with the latest svn tree, I could change the current web page to point to that project instead of the savannah one, and the rest would be up to you. If not I would eventually get around to doing it myself, but it wouldn't be instant as it's not a top priority for me.
-W.W.
_______________________________________________
cinvoke-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/cinvoke-dev