Yvon Thoraval wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey all,
i'd like to use a C extension to Ruby into jRuby.
i know it isn't possible however i know, from developer of this
extension, that only one part needs C, this part is related to Apple
Event Manager.
then i need some advices on how to implement this extension in java
using JNI or
similar.
I would recommend you look into JNA. We will ship with it in 1.1 and it
enables arbitrary access to dynamic libraries.
http://jna.dev.java.net
There's a JRuby example on the front page there. Let us know how it goes!
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email