remake  4.3+dbg-1.5
Macros | Typedefs | Enumerations
types.h File Reference

Miscellaneous types. More...

#include "config.h"
#include "make.h"
#include <stdint.h>

Go to the source code of this file.

Macros

#define UNUSED_ARGUMENT(x)   (void)x
 
#define false   0
 
#define true   1
 
#define bool   uint8_t
 
#define CALLOC(t, n)   ((t *) calloc (sizeof (t), (n)))
 

Typedefs

typedef unsigned int brkpt_mask_t
 
typedef unsigned long int lineno_t
 
typedef struct child child_t
 
typedef struct commands commands_t
 
typedef struct dep dep_t
 
typedef struct file file_t
 
typedef struct goaldep goaldep_t
 
typedef struct nameseq nameseq_t
 
typedef struct pattern_var pattern_var_t
 
typedef struct pspec pspec_t
 
typedef struct rule rule_t
 
typedef struct stringlist stringlist_t
 
typedef struct variable variable_t
 
typedef enum variable_origin variable_origin_t
 
typedef struct variable_set variable_set_t
 
typedef struct variable_set_list variable_set_list_t
 

Enumerations

enum  breakpoint_mask_t {
  BRK_NONE = 0x00, BRK_BEFORE_PREREQ = 0x01, BRK_AFTER_PREREQ = 0x02, BRK_AFTER_CMD = 0x04,
  BRK_ALL = (BRK_BEFORE_PREREQ|BRK_AFTER_PREREQ|BRK_AFTER_CMD), BRK_TEMP = 0x08
}
 

Detailed Description

Miscellaneous types.

Macro Definition Documentation

◆ bool

#define bool   uint8_t

◆ CALLOC

#define CALLOC (   t,
 
)    ((t *) calloc (sizeof (t), (n)))

◆ false

#define false   0

◆ true

#define true   1

◆ UNUSED_ARGUMENT

#define UNUSED_ARGUMENT (   x)    (void)x

Typedef Documentation

◆ brkpt_mask_t

typedef unsigned int brkpt_mask_t

◆ child_t

typedef struct child child_t

◆ commands_t

typedef struct commands commands_t

◆ dep_t

typedef struct dep dep_t

◆ file_t

typedef struct file file_t

◆ goaldep_t

typedef struct goaldep goaldep_t

◆ lineno_t

typedef unsigned long int lineno_t

◆ nameseq_t

typedef struct nameseq nameseq_t

◆ pattern_var_t

typedef struct pattern_var pattern_var_t

◆ pspec_t

typedef struct pspec pspec_t

◆ rule_t

typedef struct rule rule_t

◆ stringlist_t

typedef struct stringlist stringlist_t

◆ variable_origin_t

◆ variable_set_list_t

◆ variable_set_t

typedef struct variable_set variable_set_t

◆ variable_t

typedef struct variable variable_t

Enumeration Type Documentation

◆ breakpoint_mask_t

Debugger breakpoint type

Enumerator
BRK_NONE 

Mask when none of the below are set.

BRK_BEFORE_PREREQ 

Stop after prequisites checking done

BRK_AFTER_PREREQ 

Stop after prequisites checking done

BRK_AFTER_CMD 

Stop after running commands

BRK_ALL 
BRK_TEMP 

Temporary or one-time breakpoint