From: Shark8 <OneWingedShark@gmail.com>
Subject: Re: If a routine should return two results, how should it be done?
Date: Sat, 26 Jul 2014 14:10:56 -0600
Date: 2014-07-26T14:10:56-06:00 [thread overview]
Message-ID: <kXTAv.140879$4n.48770@fx31.iad> (raw)
In-Reply-To: <lr0tn4$d71$1@speranza.aioe.org>
On 26-Jul-14 12:57, Victor Porton wrote:
> I want to create a thick Ada binding for the following C function:
>
>
> char * raptor_uri_uri_string_to_filename_fragment
> (const unsigned char *uri_string,
> unsigned char **fragment_p);
I think you're going about this backwards -- Try designing the API how
you want, in "natural Ada" and /then/ use functionality from the linked
C/C++/other-lang functions in some hidden part (private package, package
body, etc).
next prev parent reply other threads:[~2014-07-26 20:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-26 18:00 If a routine should return two results, how should it be done? Victor Porton
2014-07-26 18:53 ` Niklas Holsti
2014-07-26 18:57 ` Victor Porton
2014-07-26 19:21 ` Peter Chapin
2014-07-26 19:37 ` Dan'l Miller
2014-07-26 20:10 ` Shark8 [this message]
2014-07-26 20:42 ` Victor Porton
2014-07-26 20:44 ` Victor Porton
2014-07-27 11:59 ` anon
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox