diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-09-14 12:46:35 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-09-14 12:46:35 +0000 |
commit | 785435b6271268880c2f537843d76f5691376d8e (patch) | |
tree | 0e51c1bffb668811dbd1ac5289a38ae212068a1e /skeletons/NativeReal.h | |
parent | b807ac4eb2aad41e8472ffec29aa18f43f973f3d (diff) |
REAL type support, including -fnative-types
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@319 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'skeletons/NativeReal.h')
-rw-r--r-- | skeletons/NativeReal.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/skeletons/NativeReal.h b/skeletons/NativeReal.h new file mode 100644 index 00000000..1a5436df --- /dev/null +++ b/skeletons/NativeReal.h @@ -0,0 +1,23 @@ +/*- + * 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). + * Use of this type is normally enabled by -fnative-integers. + */ +#ifndef ASN_TYPE_NativeReal_H +#define ASN_TYPE_NativeReal_H + +#include <constr_TYPE.h> + +extern asn1_TYPE_descriptor_t asn1_DEF_NativeReal; + +ber_type_decoder_f NativeReal_decode_ber; +der_type_encoder_f NativeReal_encode_der; +asn_struct_print_f NativeReal_print; +asn_struct_free_f NativeReal_free; + +#endif /* ASN_TYPE_NativeReal_H */ |