From: Poul-Erik Andreasen <poulerik@pea.dk>
Subject: Binding problem
Date: Thu, 07 Sep 2006 15:52:46 +0200
Date: 2006-09-07T15:52:46+02:00 [thread overview]
Message-ID: <4500241e$0$199$edfadb0f@dread11.news.tele.dk> (raw)
Hey
I am trying to write a binding to the FANN libery.
There i have a function who look like this
FANN_EXTERNAL fann_type *FANN_API fann_run(struct fann * ann,
fann_type * input)
The problem is the fann_type * input. Orcording to the manual this
can be ether a integer a float or a double, depending on whitch
headerfile there have been included, this is also visible in the c-code
where som of the execution is controlled by some ifdef statement.
I want to split i up in 3 function but how can i from ada simulate that
one or another Headerfile are included.
Poul-Erik Andreasen
reply other threads:[~2006-09-07 13:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox