diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-03 13:03:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-03 13:03:25 +0400 |
commit | b8b5bf7dcde37d1be38f0dbbbbf268a4c292d4d8 (patch) | |
tree | 2bb58d71255c1e68a598649608fb8a2e209ea1e8 /source/blender/blenlib/BLI_endian_switch.h | |
parent | d248f94cf8b3a715297f3e512d0b10c7d7b7a0c1 (diff) |
array functions for endian switching.
Diffstat (limited to 'source/blender/blenlib/BLI_endian_switch.h')
-rw-r--r-- | source/blender/blenlib/BLI_endian_switch.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_endian_switch.h b/source/blender/blenlib/BLI_endian_switch.h index 19da1ff35a3..7017e7ba789 100644 --- a/source/blender/blenlib/BLI_endian_switch.h +++ b/source/blender/blenlib/BLI_endian_switch.h @@ -29,5 +29,14 @@ #include "BLI_endian_switch_inline.h" +/* endian_switch.c */ +void BLI_endian_switch_int16_array(short *val, const int size); +void BLI_endian_switch_uint16_array(unsigned short *val, const int size); +void BLI_endian_switch_int32_array(int *val, const int size); +void BLI_endian_switch_uint32_array(unsigned int *val, const int size); +void BLI_endian_switch_float_array(float *val, const int size); +void BLI_endian_switch_int64_array(int64_t *val, const int size); +void BLI_endian_switch_uint64_array(uint64_t *val, const int size); +void BLI_endian_switch_double_array(double *val, const int size); #endif /* __BLI_ENDIAN_SWITCH_H__ */ |