php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
gd_intern.h File Reference

Go to the source code of this file.

Macros

#define MIN(a, b)
 
#define MIN3(a, b, c)
 
#define MAX(a, b)
 
#define MAX3(a, b, c)
 
#define CLAMP(x, low, high)
 

Macro Definition Documentation

◆ CLAMP

#define CLAMP ( x,
low,
high )
Value:
(((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))

Definition at line 11 of file gd_intern.h.

◆ MAX

#define MAX ( a,
b )
Value:
((a)<(b)?(b):(a))
$obj a
Definition test.php:84

Definition at line 8 of file gd_intern.h.

◆ MAX3

#define MAX3 ( a,
b,
c )
Value:
((a)<(b)?(MAX(b,c)):(MAX(a,c)))
#define MAX(a, b)

Definition at line 10 of file gd_intern.h.

◆ MIN

#define MIN ( a,
b )
Value:
((a)<(b)?(a):(b))

Definition at line 4 of file gd_intern.h.

◆ MIN3

#define MIN3 ( a,
b,
c )
Value:
((a)<(b)?(MIN(a,c)):(MIN(b,c)))
#define MIN(a, b)

Definition at line 6 of file gd_intern.h.