2004-09-14 12:46:35 +00:00
|
|
|
/*-
|
|
|
|
* Copyright (c) 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
|
|
|
|
* Redistribution and modifications are permitted subject to BSD license.
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* This type differs from the standard REAL in that it is modelled using
|
|
|
|
* the fixed machine type (double), so it can hold only values of
|
|
|
|
* limited precision. There is no explicit type (i.e., NativeReal_t).
|
2006-10-09 12:07:58 +00:00
|
|
|
* Use of this type is normally enabled by -fnative-types.
|
2004-09-14 12:46:35 +00:00
|
|
|
*/
|
|
|
|
#ifndef ASN_TYPE_NativeReal_H
|
|
|
|
#define ASN_TYPE_NativeReal_H
|
|
|
|
|
2004-09-24 21:00:50 +00:00
|
|
|
#include <asn_application.h>
|
2004-09-14 12:46:35 +00:00
|
|
|
|
2005-07-24 09:03:44 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2004-09-29 13:26:15 +00:00
|
|
|
extern asn_TYPE_descriptor_t asn_DEF_NativeReal;
|
2004-09-14 12:46:35 +00:00
|
|
|
|
2004-09-22 16:06:28 +00:00
|
|
|
asn_struct_free_f NativeReal_free;
|
|
|
|
asn_struct_print_f NativeReal_print;
|
2017-08-10 09:14:59 +00:00
|
|
|
asn_struct_compare_f NativeReal_compare;
|
2004-09-14 12:46:35 +00:00
|
|
|
ber_type_decoder_f NativeReal_decode_ber;
|
|
|
|
der_type_encoder_f NativeReal_encode_der;
|
2004-10-21 14:02:19 +00:00
|
|
|
xer_type_decoder_f NativeReal_decode_xer;
|
2004-09-22 16:06:28 +00:00
|
|
|
xer_type_encoder_f NativeReal_encode_xer;
|
2006-10-09 12:07:58 +00:00
|
|
|
per_type_decoder_f NativeReal_decode_uper;
|
|
|
|
per_type_encoder_f NativeReal_encode_uper;
|
2004-09-14 12:46:35 +00:00
|
|
|
|
2016-05-16 05:50:09 +00:00
|
|
|
#define NativeReal_constraint asn_generic_no_constraint
|
|
|
|
|
2005-07-24 09:03:44 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2004-09-14 12:46:35 +00:00
|
|
|
#endif /* ASN_TYPE_NativeReal_H */
|