Add UP_CAST macro, for safer casting from contained data to its container.
authorBen Pfaff <blp@gnu.org>
Sun, 9 Aug 2009 03:34:28 +0000 (20:34 -0700)
committerBen Pfaff <blp@gnu.org>
Sun, 9 Aug 2009 03:34:28 +0000 (20:34 -0700)
commit12895f38b01137ae0b14f07d26e6f0928b735bdf
tree581c86047a59f87aedbb2eea6e40fd49a7b4db9e
parentb46b794dfb9f0758aafec83f50993d1930894099
Add UP_CAST macro, for safer casting from contained data to its container.
19 files changed:
src/language/control/repeat.c
src/language/stats/chisquare.c
src/language/stats/npar.q
src/language/syntax-file.c
src/language/syntax-string-source.c
src/libpspp/cast.h [new file with mode: 0644]
src/math/box-whisker.c
src/math/histogram.c
src/math/np.c
src/math/percentiles.c
src/math/trimmed-mean.c
src/math/tukey-hinges.c
src/output/charts/box-whisker.c
src/output/charts/np-plot.c
src/output/charts/piechart.c
src/output/charts/plot-hist.c
src/ui/gui/find-dialog.c
src/ui/gui/syntax-editor-source.c
src/ui/terminal/read-line.c