diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-03-18 05:11:40 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-05-02 14:53:06 +0200 |
commit | 4a8d6eca395e1ec0490e20e7971177f688da18ec (patch) | |
tree | 484e693195efc125c89c7bbb9d2393646fc1f230 /nx-X11/programs/Xserver/include/miscstruct.h | |
parent | 63f1fff8fe1e7f94ebc0a72df773c6f77531f7a4 (diff) | |
download | nx-libs-4a8d6eca395e1ec0490e20e7971177f688da18ec.tar.gz nx-libs-4a8d6eca395e1ec0490e20e7971177f688da18ec.tar.bz2 nx-libs-4a8d6eca395e1ec0490e20e7971177f688da18ec.zip |
Change region implementation from macros to inline functions.
This makes all of the previous macros into inline functions and also
turns all of the direct calls to pixman region code into inline
functions as well.
v1: Keith Packard <keithp@keithp.com>
v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'nx-X11/programs/Xserver/include/miscstruct.h')
-rw-r--r-- | nx-X11/programs/Xserver/include/miscstruct.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/include/miscstruct.h b/nx-X11/programs/Xserver/include/miscstruct.h index 7df9240c9..7b1f8047b 100644 --- a/nx-X11/programs/Xserver/include/miscstruct.h +++ b/nx-X11/programs/Xserver/include/miscstruct.h @@ -50,15 +50,15 @@ SOFTWARE. #ifndef MISCSTRUCT_H #define MISCSTRUCT_H 1 +#include <pixman.h> + #include "misc.h" #include <nx-X11/Xprotostr.h> #include "gc.h" typedef xPoint DDXPointRec; -typedef struct _Box { - short x1, y1, x2, y2; -} BoxRec; +typedef struct pixman_box16 BoxRec; typedef union _DevUnion { void * ptr; |