Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 1 | /*- |
| 2 | * Copyright (c) 2004 Lev Walkin <vlm@lionet.info>. All rights reserved. |
| 3 | * Redistribution and modifications are permitted subject to BSD license. |
| 4 | */ |
| 5 | /* |
| 6 | * This type differs from the standard REAL in that it is modelled using |
| 7 | * the fixed machine type (double), so it can hold only values of |
| 8 | * limited precision. There is no explicit type (i.e., NativeReal_t). |
| 9 | * Use of this type is normally enabled by -fnative-integers. |
| 10 | */ |
| 11 | #ifndef ASN_TYPE_NativeReal_H |
| 12 | #define ASN_TYPE_NativeReal_H |
| 13 | |
Lev Walkin | 11c3e17 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 14 | #include <asn_application.h> |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 15 | |
Lev Walkin | 5e03376 | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 16 | extern asn_TYPE_descriptor_t asn_DEF_NativeReal; |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 17 | |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 18 | asn_struct_free_f NativeReal_free; |
| 19 | asn_struct_print_f NativeReal_print; |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 20 | ber_type_decoder_f NativeReal_decode_ber; |
| 21 | der_type_encoder_f NativeReal_encode_der; |
Lev Walkin | 8471cec | 2004-10-21 14:02:19 +0000 | [diff] [blame] | 22 | xer_type_decoder_f NativeReal_decode_xer; |
Lev Walkin | a9cc46e | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 23 | xer_type_encoder_f NativeReal_encode_xer; |
Lev Walkin | 41ba1f2 | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 24 | |
| 25 | #endif /* ASN_TYPE_NativeReal_H */ |