Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / core / inc / random.hxx
bloba9f6c813bdddc5d85676c339ffda510a0f473f50
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef SC_RANDOM_HXX
11 #define SC_RANDOM_HXX
13 namespace sc
16 namespace rng
19 void seed(int i); // set initial seed (equivalent of libc srand())
21 double uniform(); // uniform distribution in [0,1)
23 } // namespace
25 } // namespace
27 #endif
29 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */