Re: [Java] Function Binding Redux (long post)

Rene Rivera <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Organization Redshift Software, Inc.
Message-ID <[email protected]>
John Moeller wrote:
> Rene Rivera wrote:
>> So on the suggestion from JW (John Welch), I tried an experiment. He 
>> suggested a rather devious possible solution; Create an empty stub 
>> *.java and corresponding *.class that loads the native class:
>>
>> ====java
>> package boost;
>>
>> public class A
>> {
>>      static {
>>          java.lang.System.out.println("stub/boost/A/static_init...");
>>          java.lang.System.loadLibrary("boost_A.dll");
>>      }
>> }
>> ====
>>
>> And as part of the loadLibrary() redefine the same class to the 
>> native+JNI version (see attached test code). 
> 
> Is the part between "====" what you are referring to?  I didn't get any 
> attachments with your message.

Grr... Not only did I forget the attachment. When I put it in the SF 
mailman program cheerfully informs me they are blocking attachments.



-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.