aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1compiler/asn1c_internal.h
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-11 05:21:32 +0000
committerLev Walkin <vlm@lionet.info>2004-08-11 05:21:32 +0000
commit3dcaafa32eb1f3c09da07f7690ba8ffeb4314ee6 (patch)
tree8bb877f95e3276f9ab8e9a225a10dd137e7d57f0 /libasn1compiler/asn1c_internal.h
parent43634795e6e06d377e6ddd3e4aaf8a9200223e24 (diff)
removed duplicate includes; moved CHOICE enumeration to higher level
Diffstat (limited to 'libasn1compiler/asn1c_internal.h')
-rw-r--r--libasn1compiler/asn1c_internal.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/libasn1compiler/asn1c_internal.h b/libasn1compiler/asn1c_internal.h
index 31bf6977..6192650c 100644
--- a/libasn1compiler/asn1c_internal.h
+++ b/libasn1compiler/asn1c_internal.h
@@ -40,37 +40,6 @@ typedef struct arg_s {
#include "asn1c_out.h" /* Handle output during compilation */
#include "asn1c_save.h" /* Save compiled output */
-#define INDENT(val) arg->indent_level += (val)
-#define INDENTED(code) do { \
- INDENT(+1); \
- do { code; } while(0); \
- INDENT(-1); \
- } while(0)
-#define FLAT(code) do { \
- int _il = arg->indent_level; \
- arg->indent_level = 0; \
- do { code; } while(0); \
- arg->indent_level = _il; \
- } while(0)
-#define EMBED(ev) do { \
- REDIR(OT_TYPE_DECLS); \
- arg->embed++; \
- INDENTED(arg_t _tmp = *arg; \
- _tmp.expr = ev; \
- _tmp.default_cb(&_tmp); \
- ); \
- arg->embed--; \
- } while(0)
-#define OUT(fmt, args...) asn1c_compiled_output(arg, fmt, ##args)
-#define OUT_NOINDENT(fmt, args...) do { \
- int _saved_indent = arg->indent_level; \
- arg->indent_level = 0; \
- asn1c_compiled_output(arg, fmt, ##args);\
- arg->indent_level = _saved_indent; \
-} while(0)
-
-#define REDIR(foo) do { arg->target->target = foo; } while(0)
-
/*
* Logging.
*/