From 6c902e62e23fd6d2baf06078c94085fe755c36d6 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 5 Sep 2017 13:22:36 -0400 Subject: Rename fx_rand to fx_random Match FX_Random method names. Change-Id: I2d178229563881479b80e1f86975f5b165475837 Reviewed-on: https://pdfium-review.googlesource.com/13093 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- core/fxcrt/fx_random.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 core/fxcrt/fx_random.h (limited to 'core/fxcrt/fx_random.h') diff --git a/core/fxcrt/fx_random.h b/core/fxcrt/fx_random.h new file mode 100644 index 0000000000..c07ef797cf --- /dev/null +++ b/core/fxcrt/fx_random.h @@ -0,0 +1,18 @@ +// Copyright 2017 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef CORE_FXCRT_FX_RANDOM_H_ +#define CORE_FXCRT_FX_RANDOM_H_ + +#include + +void* FX_Random_MT_Start(uint32_t dwSeed); +void FX_Random_MT_Close(void* pContext); +uint32_t FX_Random_MT_Generate(void* pContext); +void FX_Random_GenerateBase(uint32_t* pBuffer, int32_t iCount); +void FX_Random_GenerateMT(uint32_t* pBuffer, int32_t iCount); + +#endif // CORE_FXCRT_FX_RANDOM_H_ -- cgit v1.2.3