Permalink
Browse files

additional constants

  • Loading branch information...
1 parent 6038772 commit dec77d5b900d4ee9cf620aad1b780461e845b389 @wolfwood wolfwood committed Mar 14, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 user/types.d
View
@@ -2,6 +2,8 @@ module user.types;
// --- Constants ---
const ulong oneGB = 1024*1024*1024UL;
+const ulong fourKB = 4096UL;
+const ulong twoMB = fourKB*512;
// --- Special Types, casting to one of these means you are doing it wrong :) ---
typedef ubyte* AddressSpace;

0 comments on commit dec77d5

Please sign in to comment.