| 17856 | } |
| 17857 | |
| 17858 | asQWORD asCExprValue::GetConstantData() |
| 17859 | { |
| 17860 | asQWORD qw = 0; |
| 17861 | // This code is necessary to guarantee that the code |
| 17862 | // works on both big endian and little endian CPUs. |
| 17863 | if (dataType.GetSizeInMemoryBytes() == 1) |
| 17864 | qw = byteValue; |
| 17865 | if (dataType.GetSizeInMemoryBytes() == 2) |
| 17866 | qw = wordValue; |
| 17867 | if (dataType.GetSizeInMemoryBytes() == 4) |
| 17868 | qw = dwordValue; |
| 17869 | else |
| 17870 | qw = qwordValue; |
| 17871 | return qw; |
| 17872 | } |
| 17873 | |
| 17874 | void asCExprValue::SetUndefinedFuncHandle(asCScriptEngine *engine) |
| 17875 | { |
no test coverage detected