2 messages in net.java.dev.jna.users[jna-users] Can you have different Ja...
FromSent OnAttachments
Alan SnyderSep 10, 2008 5:14 pm 
Wayne MeissnerSep 10, 2008 5:18 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[jna-users] Can you have different Java classes load the same Native.loadLibrary()?Actions...
From:Alan Snyder (ala@tidebreaksys.com)
Date:Sep 10, 2008 5:14:29 pm
List:net.java.dev.jna.users

Just a quick question. Is doing something like this OK?

public interface CarbonA extends Library{

CarbonA INSTANCE = (CarbonA)Native.loadLibrary("Carbon",CarbonA.class); : : }

public interface CarbonB extends Library{

CarbonB INSTANCE = (CarbonB) Native.loadLibrary("Carbon",CarbonB.class); : <different interface functions from CarbonA but using same Mac Framework> : }