comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: Trouble writing Ada callback from C
Date: Fri, 11 Sep 2009 22:46:02 -0700 (PDT)
Date: 2009-09-11T22:46:02-07:00	[thread overview]
Message-ID: <e8f064a5-a6e4-487f-91e2-5c6b238a38f8@y42g2000yqb.googlegroups.com> (raw)
In-Reply-To: 2db6b2d3-88c6-43ae-b1e8-4bcb44ce2ee3@s21g2000prm.googlegroups.com

On Sep 12, 6:28 am, Jerry <lancebo...@qwest.net> wrote:
> On Sep 11, 1:24 am, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:

> > begin
> >    Update (Item => label, Offset => 0, Str => To_C (Result), Check =>
> > False);

>       if Check and then Offset + Chars'Length  > Strlen (Item) then
>          raise Update_Error;
>       end if;

Are you sure you called Update with Check => False?



  reply	other threads:[~2009-09-12  5:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-11  7:57 Trouble writing Ada callback from C Jerry
2009-09-11  8:24 ` Ludovic Brenta
2009-09-11 20:38   ` sjw
2009-09-12  5:28   ` Jerry
2009-09-12  5:46     ` sjw [this message]
2009-09-16 23:06       ` Jerry
2009-09-12  8:44     ` Georg Bauhaus
2009-09-12 18:40 ` Vadim Godunko
2009-09-16 23:19   ` Jerry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox