From 949bb3ba304be9bd80cda27c37c2d0d0da6a67dd Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 26 Nov 2015 10:49:39 -0500 Subject: move all output action- and formatting flags to a designated header. --- include/perk/perk_output.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'include/perk/perk_output.h') diff --git a/include/perk/perk_output.h b/include/perk/perk_output.h index 36c6922..18ec373 100644 --- a/include/perk/perk_output.h +++ b/include/perk/perk_output.h @@ -1,12 +1,18 @@ #ifndef PERK_OUTPUT_H #define PERK_OUTPUT_H -#define PERK_OUTPUT_FORMAT_LIST 0x00000001 -#define PERK_OUTPUT_FORMAT_TABLE 0x00000002 -#define PERK_OUTPUT_FORMAT_READOBJ 0x00000004 -#define PERK_OUTPUT_FORMAT_OBJDUMP 0x00000008 +#include -#define PERK_OUTPUT_FIELD_NAME 0x00000100 -#define PERK_OUTPUT_FIELD_ALL 0x80000000 +#define PERK_PRETTY(x) ((uint64_t)x << 32) + +/* output actions */ +#define PERK_OUTPUT_EXPORT_SYMS 0x00000001 + + +/* pretty-printer flags */ +#define PERK_PRETTY_LIST PERK_PRETTY(0x00000001) +#define PERK_PRETTY_TABLE PERK_PRETTY(0x00000002) +#define PERK_PRETTY_READOBJ PERK_PRETTY(0x00000004) +#define PERK_PRETTY_OBJDUMP PERK_PRETTY(0x00000008) #endif -- cgit v1.2.3