File: rmacros.h

package info (click to toggle)
qcad 1.3.3-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,504 kB
  • ctags: 2,449
  • sloc: cpp: 29,400; makefile: 49; sh: 15
file content (27 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/***************************************************************************
                          rmacros.h  -  description
                             -------------------
    begin                : Mon Sep 27 1999
    copyright            : (C) 1999 by Andreas Mustun
    email                : andrew@ribbonsoft.com
 ***************************************************************************/

// Macros:
//

#ifndef RMACROS_H
#define RMACROS_H

// Get smaller value:
//
#define MAC_MINSIZE(A, B) A <= B ? A : B

// Compare two values:
//
#define MAC_COMPARE(A, B, T) (A>=B-T && A<=B+T ? true : false)

#endif

// EOF