blob: a307722a85ed9d57b1b6b43cec68af5f9106616a [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).
Lev Walkin725883b2006-10-09 12:07:58 +00009 * Use of this type is normally enabled by -fnative-types.
Lev Walkin41ba1f22004-09-14 12:46:35 +000010 */
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 Walkincd2f48e2017-08-10 02:14:59 -070024asn_struct_compare_f NativeReal_compare;
Lev Walkin41ba1f22004-09-14 12:46:35 +000025ber_type_decoder_f NativeReal_decode_ber;
26der_type_encoder_f NativeReal_encode_der;
Lev Walkin8471cec2004-10-21 14:02:19 +000027xer_type_decoder_f NativeReal_decode_xer;
Lev Walkina9cc46e2004-09-22 16:06:28 +000028xer_type_encoder_f NativeReal_encode_xer;
Lev Walkin725883b2006-10-09 12:07:58 +000029per_type_decoder_f NativeReal_decode_uper;
30per_type_encoder_f NativeReal_encode_uper;
Lev Walkin41ba1f22004-09-14 12:46:35 +000031
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080032#define NativeReal_constraint asn_generic_no_constraint
33
Lev Walkin21b41ac2005-07-24 09:03:44 +000034#ifdef __cplusplus
35}
36#endif
37
Lev Walkin41ba1f22004-09-14 12:46:35 +000038#endif /* ASN_TYPE_NativeReal_H */