Initial import

This commit is contained in:
Justine Tunney
2020-06-15 07:18:57 -07:00
commit c91b3c5006
14915 changed files with 590219 additions and 0 deletions

9
third_party/duktape/duk_api_random.c vendored Normal file
View File

@@ -0,0 +1,9 @@
/*
* Random numbers
*/
#include "third_party/duktape/duk_internal.h"
DUK_EXTERNAL duk_double_t duk_random(duk_hthread *thr) {
return (duk_double_t) DUK_UTIL_GET_RANDOM_DOUBLE(thr);
}