|
| 1 | +/* |
| 2 | + Copyright (c) INRIA and Microsoft Corporation. All rights reserved. |
| 3 | + Licensed under the Apache 2.0 and MIT Licenses. |
| 4 | +*/ |
| 5 | + |
| 6 | + |
| 7 | +#ifndef __FStar_Attributes_H |
| 8 | +#define __FStar_Attributes_H |
| 9 | + |
| 10 | +#include <inttypes.h> |
| 11 | +#include "krmllib.h" |
| 12 | +#include "krml/internal/compat.h" |
| 13 | +#include "krml/internal/target.h" |
| 14 | + |
| 15 | +#define FStar_Attributes_PpxDerivingShow 0 |
| 16 | +#define FStar_Attributes_PpxDerivingShowConstant 1 |
| 17 | +#define FStar_Attributes_PpxDerivingYoJson 2 |
| 18 | +#define FStar_Attributes_CInline 3 |
| 19 | +#define FStar_Attributes_Substitute 4 |
| 20 | +#define FStar_Attributes_Gc 5 |
| 21 | +#define FStar_Attributes_Comment 6 |
| 22 | +#define FStar_Attributes_CPrologue 7 |
| 23 | +#define FStar_Attributes_CEpilogue 8 |
| 24 | +#define FStar_Attributes_CConst 9 |
| 25 | +#define FStar_Attributes_CCConv 10 |
| 26 | +#define FStar_Attributes_CAbstractStruct 11 |
| 27 | +#define FStar_Attributes_CIfDef 12 |
| 28 | +#define FStar_Attributes_CMacro 13 |
| 29 | +#define FStar_Attributes_CNoInline 14 |
| 30 | + |
| 31 | +typedef uint8_t FStar_Attributes___internal_ocaml_attributes_tags; |
| 32 | + |
| 33 | +typedef struct FStar_Attributes___internal_ocaml_attributes_s |
| 34 | +{ |
| 35 | + FStar_Attributes___internal_ocaml_attributes_tags tag; |
| 36 | + union { |
| 37 | + Prims_string case_PpxDerivingShowConstant; |
| 38 | + Prims_string case_Comment; |
| 39 | + Prims_string case_CPrologue; |
| 40 | + Prims_string case_CEpilogue; |
| 41 | + Prims_string case_CConst; |
| 42 | + Prims_string case_CCConv; |
| 43 | + } |
| 44 | + ; |
| 45 | +} |
| 46 | +FStar_Attributes___internal_ocaml_attributes; |
| 47 | + |
| 48 | +bool |
| 49 | +FStar_Attributes_uu___is_PpxDerivingShow( |
| 50 | + FStar_Attributes___internal_ocaml_attributes projectee |
| 51 | +); |
| 52 | + |
| 53 | +bool |
| 54 | +FStar_Attributes_uu___is_PpxDerivingShowConstant( |
| 55 | + FStar_Attributes___internal_ocaml_attributes projectee |
| 56 | +); |
| 57 | + |
| 58 | +bool |
| 59 | +FStar_Attributes_uu___is_PpxDerivingYoJson( |
| 60 | + FStar_Attributes___internal_ocaml_attributes projectee |
| 61 | +); |
| 62 | + |
| 63 | +bool FStar_Attributes_uu___is_CInline(FStar_Attributes___internal_ocaml_attributes projectee); |
| 64 | + |
| 65 | +bool |
| 66 | +FStar_Attributes_uu___is_Substitute(FStar_Attributes___internal_ocaml_attributes projectee); |
| 67 | + |
| 68 | +bool FStar_Attributes_uu___is_Gc(FStar_Attributes___internal_ocaml_attributes projectee); |
| 69 | + |
| 70 | +bool FStar_Attributes_uu___is_Comment(FStar_Attributes___internal_ocaml_attributes projectee); |
| 71 | + |
| 72 | +bool |
| 73 | +FStar_Attributes_uu___is_CPrologue(FStar_Attributes___internal_ocaml_attributes projectee); |
| 74 | + |
| 75 | +bool |
| 76 | +FStar_Attributes_uu___is_CEpilogue(FStar_Attributes___internal_ocaml_attributes projectee); |
| 77 | + |
| 78 | +bool FStar_Attributes_uu___is_CConst(FStar_Attributes___internal_ocaml_attributes projectee); |
| 79 | + |
| 80 | +bool FStar_Attributes_uu___is_CCConv(FStar_Attributes___internal_ocaml_attributes projectee); |
| 81 | + |
| 82 | +bool |
| 83 | +FStar_Attributes_uu___is_CAbstractStruct( |
| 84 | + FStar_Attributes___internal_ocaml_attributes projectee |
| 85 | +); |
| 86 | + |
| 87 | +bool FStar_Attributes_uu___is_CIfDef(FStar_Attributes___internal_ocaml_attributes projectee); |
| 88 | + |
| 89 | +bool FStar_Attributes_uu___is_CMacro(FStar_Attributes___internal_ocaml_attributes projectee); |
| 90 | + |
| 91 | +bool |
| 92 | +FStar_Attributes_uu___is_CNoInline(FStar_Attributes___internal_ocaml_attributes projectee); |
| 93 | + |
| 94 | + |
| 95 | +#define __FStar_Attributes_H_DEFINED |
| 96 | +#endif |
0 commit comments