fix plugins using libcolors
[cinelerra_cv/ct.git] / guicast / workarounds.h
blobf4b90b7e5fb3e195dbcbad360da461998c9262c8
1 #ifndef WORKAROUNDS_H
2 #define WORKAROUNDS_H
4 #include <stdint.h>
6 class Workarounds
8 public:
9 Workarounds() {};
10 ~Workarounds() {};
12 static void copy_int(int &a, int &b);
13 static void copy_double(double *a, double b);
14 static double divide_double(double a, double b);
15 static void clamp(int32_t &x, int32_t y, int32_t z);
16 static void clamp(int64_t &x, int64_t y, int64_t z);
17 static void clamp(float &x, float y, float z);
18 static void clamp(double &x, double y, double z);
19 static float pow(float x, float y);
22 #endif
24 // Local Variables:
25 // mode: C++
26 // c-file-style: "linux"
27 // End: