3 // Cassowary Incremental Constraint Solver
4 // Original Smalltalk Implementation by Alan Borning
5 // This C++ Implementation by Greg J. Badros, <gjb@cs.washington.edu>
6 // http://www.cs.washington.edu/homes/gjb
7 // (C) 1998, 1999 Greg J. Badros and Alan Borning
8 // See ../LICENSE for legal details regarding this software
15 #if defined(HAVE_CONFIG_H) && !defined(CONFIG_H_INCLUDED) && !defined(CONFIG_INLINE_H_INCLUDED)
16 #include <cassowary/config-inline.h>
17 #define CONFIG_INLINE_H_INCLUDED
20 #ifndef CL_PTR_HASH_DIVISOR
21 #define CL_PTR_HASH_DIVISOR 4
24 #include "ClConstraintHash.h"
31 typedef double Number;
33 typedef long FDNumber;
35 enum { FDN_NOTSET = LONG_MIN };
37 #define NEWVAR(x) do { cerr << "line " << __LINE__ << ": new " << x << endl; } while (0)
38 #define DELVAR(x) do { cerr << "line " << __LINE__ << ": del " << x << endl; } while (0)