ReactOS  0.4.14-dev-342-gdc047f9
pseh.h File Reference
#include <stddef.h>
#include <pseh/framebased.h>
Include dependency graph for pseh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _SEH_PVOID_CAST(TYPE_, P_)   (P_)
 
#define _SEH_FIELD_OFFSET   offsetof
 
#define _SEH_CONTAINING_RECORD(ADDR_, TYPE_, FIELD_)   ((TYPE_ *)(((char *)(ADDR_)) - _SEH_FIELD_OFFSET(TYPE_, FIELD_)))
 
#define _SEH_CONCAT1(X_, Y_)   X_ ## Y_
 
#define _SEH_CONCAT(X_, Y_)   _SEH_CONCAT1(X_, Y_)
 
#define _SEH_LOCALS_TYPENAME(BASENAME_)   struct _SEH_CONCAT(_SEHLocalsTag, BASENAME_)
 
#define _SEH_DEFINE_LOCALS(BASENAME_)   _SEH_LOCALS_TYPENAME(BASENAME_)
 
#define _SEH_DECLARE_LOCALS(BASENAME_)
 

Variables

static int _SEHLocals
 
static void *const _SEHDummyLocals = &_SEHLocals
 

Macro Definition Documentation

◆ _SEH_CONCAT

#define _SEH_CONCAT (   X_,
  Y_ 
)    _SEH_CONCAT1(X_, Y_)

Definition at line 51 of file pseh.h.

◆ _SEH_CONCAT1

#define _SEH_CONCAT1 (   X_,
  Y_ 
)    X_ ## Y_

Definition at line 50 of file pseh.h.

◆ _SEH_CONTAINING_RECORD

#define _SEH_CONTAINING_RECORD (   ADDR_,
  TYPE_,
  FIELD_ 
)    ((TYPE_ *)(((char *)(ADDR_)) - _SEH_FIELD_OFFSET(TYPE_, FIELD_)))

Definition at line 43 of file pseh.h.

◆ _SEH_DECLARE_LOCALS

#define _SEH_DECLARE_LOCALS (   BASENAME_)
Value:
_SEH_LOCALS_TYPENAME(BASENAME_) * _SEHPLocals; \
_SEHPLocals = &_SEHLocals;
#define _SEH_LOCALS_TYPENAME(BASENAME_)
Definition: pseh.h:65
static int _SEHLocals
Definition: pseh.h:77

Definition at line 71 of file pseh.h.

◆ _SEH_DEFINE_LOCALS

#define _SEH_DEFINE_LOCALS (   BASENAME_)    _SEH_LOCALS_TYPENAME(BASENAME_)

Definition at line 68 of file pseh.h.

◆ _SEH_FIELD_OFFSET

#define _SEH_FIELD_OFFSET   offsetof

Definition at line 37 of file pseh.h.

◆ _SEH_LOCALS_TYPENAME

#define _SEH_LOCALS_TYPENAME (   BASENAME_)    struct _SEH_CONCAT(_SEHLocalsTag, BASENAME_)

Definition at line 65 of file pseh.h.

◆ _SEH_PVOID_CAST

#define _SEH_PVOID_CAST (   TYPE_,
  P_ 
)    (P_)

Definition at line 30 of file pseh.h.

Variable Documentation

◆ _SEHDummyLocals

void* const _SEHDummyLocals = &_SEHLocals
static

Definition at line 78 of file pseh.h.

◆ _SEHLocals

int _SEHLocals
static

Definition at line 77 of file pseh.h.