diff options
author | Neil Conway <neilc@samurai.com> | 2006-02-21 23:01:54 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2006-02-21 23:01:54 +0000 |
commit | 737651f6bebe0cefded367590bd78671af381670 (patch) | |
tree | 61a6ce9dfdb991b65457ad41ac45e3d2e0028a71 /contrib/intarray/_int_gist.c | |
parent | 3666260ffd455ac1847ef04cc39b5b00ef760961 (diff) | |
download | postgresql-737651f6bebe0cefded367590bd78671af381670.tar.gz postgresql-737651f6bebe0cefded367590bd78671af381670.zip |
Cleanup the usage of ScanDirection: use the symbolic names for the
possible ScanDirection alternatives rather than magic numbers
(-1, 0, 1). Also, use the ScanDirection macros in a few places
rather than directly checking whether `dir == ForwardScanDirection'
and the like. Per patch from James William Pye. His patch also
changed ScanDirection to be a "char" rather than an enum, which
I haven't applied.
Diffstat (limited to 'contrib/intarray/_int_gist.c')
0 files changed, 0 insertions, 0 deletions