public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: bserdar@nc.rr.com
To: "Plapp, Phillip" <phillip.plapp@hp.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: gcj
Date: Fri, 23 Apr 2004 15:45:00 -0000	[thread overview]
Message-ID: <1c7b8f1c8cb7.1c8cb71c7b8f@southeast.rr.com> (raw)

> In my C++ CNI file I access a java ArrayList which contains several
> instances of my class ItemVersionStatistics.
> 
> When I enter the line,
> 	ItemVersionStatistics *ivs = (ItemVersionStatistics)
> arrayListVariable->get(0);

You are typecasting to a ItemVersionStatistics, not to a pointer to it. Try:

ItemVersionStatistics *ivs = (ItemVersionStatistics *)
  arrayListVariable->get(0);


             reply	other threads:[~2004-04-23 15:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 15:45 bserdar [this message]
     [not found] <200901181717.n0IHHMOM028799@smtp.google.com>
2009-01-20  1:06 ` gcj Ian Lance Taylor
  -- strict thread matches above, loose matches on Subject: below --
2009-01-18 17:17 gcj Franklyn Simon
2009-01-18 17:17 gcj Franklyn Simon
2004-04-27 15:24 gcj Plapp, Phillip
2004-04-23 15:37 gcj Plapp, Phillip
1999-11-23  5:47 gcj Ashwin Kapur
1999-11-23  5:43 ` gcj Eric Doenges
1999-11-30 23:28   ` gcj Eric Doenges
1999-11-30 23:28 ` gcj Ashwin Kapur
1999-10-27 21:31 gcj Chris Majewski
1999-10-27 21:52 ` gcj Anthony Green
1999-10-31 13:57   ` gcj Anthony Green
1999-10-31 13:57 ` gcj Chris Majewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1c7b8f1c8cb7.1c8cb71c7b8f@southeast.rr.com \
    --to=bserdar@nc.rr.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=phillip.plapp@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).