blob: 1f5266cc825caf3000514dce97120ea15b5baed0 [file] [log] [blame]
Lev Walkin41ba1f22004-09-14 12:46:35 +00001/*-
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 Walkin11c3e172004-09-24 21:00:50 +000014#include <asn_application.h>
Lev Walkin41ba1f22004-09-14 12:46:35 +000015
Lev Walkin21b41ac2005-07-24 09:03:44 +000016#ifdef __cplusplus
17extern "C" {
18#endif
19
Lev Walkin5e033762004-09-29 13:26:15 +000020extern asn_TYPE_descriptor_t asn_DEF_NativeReal;
Lev Walkin41ba1f22004-09-14 12:46:35 +000021
Lev Walkina9cc46e2004-09-22 16:06:28 +000022asn_struct_free_f NativeReal_free;
23asn_struct_print_f NativeReal_print;
Lev Walkin41ba1f22004-09-14 12:46:35 +000024ber_type_decoder_f NativeReal_decode_ber;
25der_type_encoder_f NativeReal_encode_der;
Lev Walkin8471cec2004-10-21 14:02:19 +000026xer_type_decoder_f NativeReal_decode_xer;
Lev Walkina9cc46e2004-09-22 16:06:28 +000027xer_type_encoder_f NativeReal_encode_xer;
Lev Walkin41ba1f22004-09-14 12:46:35 +000028
Lev Walkin21b41ac2005-07-24 09:03:44 +000029#ifdef __cplusplus
30}
31#endif
32
Lev Walkin41ba1f22004-09-14 12:46:35 +000033#endif /* ASN_TYPE_NativeReal_H */