]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/WeakRandom.h
JavaScriptCore-903.tar.gz
[apple/javascriptcore.git] / runtime / WeakRandom.h
index ff3995e80a95d973cbe93166c24981509c656f52..6083980d222a385ff9aa780f25841ab4df8b2247 100644 (file)
@@ -68,6 +68,11 @@ public:
         return advance() / (UINT_MAX + 1.0);
     }
 
+    unsigned getUint32()
+    {
+        return advance();
+    }
+
 private:
     unsigned advance()
     {