🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #446

C++ pointers in JNI

#446
From: Salvador Huertas
Date: Sun, 18 Sep 2005 16:15
10 lines
1188 bytes
Hi friends,

I need use a C++ library with Java, I read de JNI documentation but, I don't 
find anything about pointers. My question is: If I have a C++ rutine with a 
parameter of type "double *par1" or "int *par2", what's java type that must 
I use in the function's declaration within the java wrapper?.

Thanks in advance!!
Salvador Huertas.
 
Technical Details
Message-ID: <432d9259$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,51c1a3c9a21c424c,start
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Salvador Huertas" <none@none>
Newsgroups: borland.public.jbuilder.java.language
Subject: C++ pointers in JNI
Date: Sun, 18 Sep 2005 18:15:44 +0200
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.53.102.228
Message-ID: <432d9259$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127060057 83.53.102.228 (18 Sep 2005 09:14:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail