This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: quickie about visibility


Nic Ferrier wrote:

>>You could make them "private native" and use "gcjh --friend" or just  
>>make them package-private native because those get mapped to public  
>>methods in C++. 
>>
>
>The problem with doing that is that I want to hide the argument list
>from the java code (because the argument won't be something that I can
>express in Java - it's a postgres tuple array). If I declare the
>method at all in the class it's going to need arguments declared isn't
>it?
>

You can not declare a method with non-Java arguments within a Java type. 
You will have to declare this method outside of "extern "Java"". Perhaps 
you could declare another, non-Java class which peers the Java class.

regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]