X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/f9bf01c6616d5ddcf65b13b33cedf9e387ff7a63..a253471d7f8e4d91bf6ebabab00155c3b387d3d0:/runtime/WeakRandom.h diff --git a/runtime/WeakRandom.h b/runtime/WeakRandom.h index ff3995e..6083980 100644 --- a/runtime/WeakRandom.h +++ b/runtime/WeakRandom.h @@ -68,6 +68,11 @@ public: return advance() / (UINT_MAX + 1.0); } + unsigned getUint32() + { + return advance(); + } + private: unsigned advance() {