comp.lang.ada
 help / color / mirror / Atom feed
* Binding problem
@ 2006-09-07 13:52 Poul-Erik Andreasen
  0 siblings, 0 replies; only message in thread
From: Poul-Erik Andreasen @ 2006-09-07 13:52 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-07 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-07 13:52 Binding problem Poul-Erik Andreasen

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