Harald Welte | 92c45f3 | 2010-06-12 18:59:38 +0200 | [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 | |
| 14 | #include <asn_application.h> |
| 15 | |
| 16 | #ifdef __cplusplus |
| 17 | extern "C" { |
| 18 | #endif |
| 19 | |
| 20 | extern asn_TYPE_descriptor_t asn_DEF_NativeReal; |
| 21 | |
| 22 | asn_struct_free_f NativeReal_free; |
| 23 | asn_struct_print_f NativeReal_print; |
| 24 | ber_type_decoder_f NativeReal_decode_ber; |
| 25 | der_type_encoder_f NativeReal_encode_der; |
| 26 | xer_type_decoder_f NativeReal_decode_xer; |
| 27 | xer_type_encoder_f NativeReal_encode_xer; |
| 28 | |
| 29 | #ifdef __cplusplus |
| 30 | } |
| 31 | #endif |
| 32 | |
| 33 | #endif /* ASN_TYPE_NativeReal_H */ |