1 // Copyright 2017 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FXCRT_FX_RANDOM_H_ 8 #define CORE_FXCRT_FX_RANDOM_H_ 9 10 #include <stdint.h> 11 12 void* FX_Random_MT_Start(uint32_t dwSeed); 13 void FX_Random_MT_Close(void* pContext); 14 uint32_t FX_Random_MT_Generate(void* pContext); 15 16 void FX_Random_GenerateMT(uint32_t* pBuffer, int32_t iCount); 17 18 #endif // CORE_FXCRT_FX_RANDOM_H_ 19