aboutsummaryrefslogtreecommitdiff
path: root/c/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/defs.h')
-rw-r--r--c/defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/c/defs.h b/c/defs.h
index 5dfed69..c5e80c2 100644
--- a/c/defs.h
+++ b/c/defs.h
@@ -28,6 +28,16 @@ HWND DlvCreate();
void DlvShowEpisode(int);
inline int
+Cmp(int a, int b)
+{
+ if (a == b)
+ return 0;
+ if (a > b)
+ return 1;
+ return -1;
+}
+
+inline int
Dpi(int i)
{
extern int IDPI;