views:

12

answers:

0

Hi,

I'm using Rococoa in a Java project and I am a newbie with JNA.

I need to cast a NSURL object to its CFURLRef equivalent and pass it to a low-level C function in CoreFoundation (to create a CFBundle).

I can't figure out how to cast a Rococoa NSObject or ID to a JNA Structure reference. Any hints? Thanks.

François