Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > b5ff7a6eba44da303040fda20e8c7bce > files > 18

hpic-0.52.2-8.fc13.i686.rpm

2005-09-29

Version 0.50 of HPIC has deprecated some function names and replaced
them with a name prefixed by "hpic_".  This is designed to reduce 
namespace pollution, and allow a single program to simultaneously use 
functions from HPIC and other healpix libraries. 

The old function names still work, but print a warning to stderr.  At
some point in the future, they will be removed.

Included in the top level HPIC directory is a small Perl script that
can be used to automatically convert all old function names to the 
new ones.  It should simply be a matter of:

$> ./hpic_remove_legacy.pl *.c *.h

or something similar.  This script will make the following substitutions
in all files passed to it on the command line:

is_dnull --> hpic_is_dnull
is_fnull --> hpic_is_fnull
is_inull --> hpic_is_inull
nsidecheck --> hpic_nsidecheck
nside2npix --> hpic_nside2npix
npix2nside --> hpic_npix2nside
nest2ring --> hpic_nest2ring
ring2nest --> hpic_ring2nest
pix2ang_ring --> hpic_pix2ang_ring
pix2ang_nest --> hpic_pix2ang_nest
ang2pix_ring --> hpic_ang2pix_ring
ang2pix_nest --> hpic_ang2pix_nest
vec2ang --> hpic_vec2ang
ang2vec --> hpic_ang2vec
pix2vec_ring --> hpic_pix2vec_ring
pix2vec_nest --> hpic_pix2vec_nest
vec2pix_ring --> hpic_vec2pix_ring
vec2pix_nest --> hpic_vec2pix_nest
degrade_nest --> hpic_degrade_nest
degrade_ring --> hpic_degrade_ring
proj_car --> hpic_proj_car
proj_sin --> hpic_proj_sin
proj_rev_car --> hpic_proj_rev_car
proj_rev_sin --> hpic_proj_rev_sin