[Date Prev][Date Next] [Chronological] [Thread] [Top]

back-bdb and IDL



Kurt,

I'm digging into back-bdb; I'd like to know what's the more
appropriate (and the likely not to change very soon) way
to determine the number of candidates are returned by  
search_candidates(); at a first glance 

(BDB_IDL_IS_RANGE( candidates ) ? candidates[2] :
candidates[candidates[0]])-candidates[1]+1

Is this correct and reliable? Is there a macro that does 
the same?

Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati