diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-03 11:37:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-03 11:37:38 +0400 |
commit | d248f94cf8b3a715297f3e512d0b10c7d7b7a0c1 (patch) | |
tree | 71275d90db69d9f434d69bc0422486dd35830fca /source/blender/blenlib/BLI_endian_switch.h | |
parent | ca6fa937d498691faf77fa58f7c6c4128ac05866 (diff) |
add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with BLI_endian_switch_int32/int64/float/double...
Diffstat (limited to 'source/blender/blenlib/BLI_endian_switch.h')
-rw-r--r-- | source/blender/blenlib/BLI_endian_switch.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_endian_switch.h b/source/blender/blenlib/BLI_endian_switch.h new file mode 100644 index 00000000000..19da1ff35a3 --- /dev/null +++ b/source/blender/blenlib/BLI_endian_switch.h @@ -0,0 +1,33 @@ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Contributor(s): Campbell Barton + * + * ***** END GPL LICENSE BLOCK ***** + */ + +#ifndef __BLI_ENDIAN_SWITCH_H__ +#define __BLI_ENDIAN_SWITCH_H__ + +/** \file BLI_endian_switch.h + * \ingroup bli + */ + +#include "BLI_endian_switch_inline.h" + + +#endif /* __BLI_ENDIAN_SWITCH_H__ */ |