| 1 |
// |
| 2 |
// SPDX-License-Identifier: BSD-3-Clause |
| 3 |
// Copyright Contributors to the OpenEXR Project. |
| 4 |
// |
| 5 |
|
| 6 |
// clang-format off |
| 7 |
|
| 8 |
#include "PyImathFixedArray.h" |
| 9 |
#include "PyImathExport.h" |
| 10 |
|
| 11 |
namespace PyImath { |
| 12 |
|
| 13 |
template <> PYIMATH_EXPORT bool FixedArrayDefaultValue<bool>::value() { return false; } |
| 14 |
template <> PYIMATH_EXPORT signed char FixedArrayDefaultValue<signed char>::value() { return 0; } |
| 15 |
template <> PYIMATH_EXPORT unsigned char FixedArrayDefaultValue<unsigned char>::value() { return 0; } |
| 16 |
template <> PYIMATH_EXPORT short FixedArrayDefaultValue<short>::value() { return 0; } |
| 17 |
template <> PYIMATH_EXPORT unsigned short FixedArrayDefaultValue<unsigned short>::value() { return 0; } |
| 18 |
template <> PYIMATH_EXPORT int FixedArrayDefaultValue<int>::value() { return 0; } |
| 19 |
template <> PYIMATH_EXPORT int64_t FixedArrayDefaultValue<int64_t>::value() { return 0; } |
| 20 |
template <> PYIMATH_EXPORT unsigned int FixedArrayDefaultValue<unsigned int>::value() { return 0; } |
| 21 |
template <> PYIMATH_EXPORT float FixedArrayDefaultValue<float>::value() { return 0; } |
| 22 |
template <> PYIMATH_EXPORT double FixedArrayDefaultValue<double>::value() { return 0; } |
| 23 |
|
| 24 |
//int alloc_count = 0; |
| 25 |
|
| 26 |
} |