vlm | 785435b | 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). |
vlm | 86380d3 | 2006-10-09 12:07:58 +0000 | [diff] [blame] | 9 | * Use of this type is normally enabled by -fnative-types. |
vlm | 785435b | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 10 | */ |
| 11 | #ifndef ASN_TYPE_NativeReal_H |
| 12 | #define ASN_TYPE_NativeReal_H |
| 13 | |
vlm | d157958 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 14 | #include <asn_application.h> |
vlm | 785435b | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 15 | |
vlm | 3a41758 | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 16 | #ifdef __cplusplus |
| 17 | extern "C" { |
| 18 | #endif |
| 19 | |
vlm | ef6355b | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 20 | extern asn_TYPE_descriptor_t asn_DEF_NativeReal; |
vlm | 785435b | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 21 | |
vlm | 39ba4c4 | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 22 | asn_struct_free_f NativeReal_free; |
| 23 | asn_struct_print_f NativeReal_print; |
vlm | 785435b | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 24 | ber_type_decoder_f NativeReal_decode_ber; |
| 25 | der_type_encoder_f NativeReal_encode_der; |
vlm | b848b2a | 2004-10-21 14:02:19 +0000 | [diff] [blame] | 26 | xer_type_decoder_f NativeReal_decode_xer; |
vlm | 39ba4c4 | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 27 | xer_type_encoder_f NativeReal_encode_xer; |
vlm | 86380d3 | 2006-10-09 12:07:58 +0000 | [diff] [blame] | 28 | per_type_decoder_f NativeReal_decode_uper; |
| 29 | per_type_encoder_f NativeReal_encode_uper; |
vlm | 785435b | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 30 | |
vlm | 3a41758 | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 31 | #ifdef __cplusplus |
| 32 | } |
| 33 | #endif |
| 34 | |
vlm | 785435b | 2004-09-14 12:46:35 +0000 | [diff] [blame] | 35 | #endif /* ASN_TYPE_NativeReal_H */ |