Source file: /~heha/hs/gputils64-210929.zip/gputils/gpvo.h

/* gpvo - GNU PIC view object
   Copyright 2001-2005	Craig Franklin
   Copyright 2016	Molnár Károly
*/

#pragma once
#include "stdhdr.h"
#include "libgputils.h"

#define GPVO_VERSION_STRING         ("gpvo-" VERSION " #" REVISION " (" __DATE__ ")")

/* Dump Flags */
#define PRINT_HEADER    (1 << 1)
#define PRINT_SECTIONS  (1 << 2)
#define PRINT_SYMTBL    (1 << 3)
#define PRINT_BINARY    (1 << 4)

extern struct gpvo_state {
  char dump_flags;     // when bit set then print that section
  bool suppress_names; // suppress filenames when 1
  const char*filename;       // object file name
  struct {
    FILE*f;		// include file output
    bool enabled;	// include file enable
    const char*filename;	// include file name
  } fexport;
  gp_object_t*object;	// formatted object file
  gp_binary_t*file;	// binary object file
}state;
Detected encoding: UTF-80