From: Simon Wright <simon@pushface.org>
Subject: Re: Converting a C/C++ statement to Ada
Date: Mon, 11 Feb 2013 17:14:25 +0000
Date: 2013-02-11T17:14:25+00:00 [thread overview]
Message-ID: <lywquercwe.fsf@pushface.org> (raw)
In-Reply-To: 51192116$0$30527$703f8584@news.kpn.nl
"ldries46" <bertus.dries@planet.nl> writes:
> Can anyone tell me the Ada equivalent for the following C/C++
> statement
>
> typedef void (*Apple) (Pair *two_side, pointer_type user_data,
> Error_type *error);
I think it's something like
type Apple is access procedure (two_side : access Pair;
user_data : ?;
error : access Error_type);
but of course the parameters may well not need to be accesses.
next prev parent reply other threads:[~2013-02-11 17:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-11 16:48 Converting a C/C++ statement to Ada ldries46
2013-02-11 17:14 ` Simon Wright [this message]
2013-02-11 18:53 ` Adam Beneschan
2013-02-12 8:53 ` ldries46
2013-02-11 21:49 ` Quentin Ochem
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox