HEX
Server: nginx/1.29.3
System: Linux 11979.bigscoots-wpo.com 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: nginx (1068)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_open,proc_close,popen,show_source,cmd# Do not modify this line # 1684243876
Upload Files
File: //usr/include/Imath/PyImathRandom.h
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
//

// clang-format off

#ifndef _PyImathRandom_h_
#define _PyImathRandom_h_

#include <Python.h>
#include <boost/python.hpp>
#include <ImathRandom.h>
#include "PyImathExport.h"

namespace PyImath {

PYIMATH_EXPORT boost::python::class_<IMATH_NAMESPACE::Rand32> register_Rand32();
PYIMATH_EXPORT boost::python::class_<IMATH_NAMESPACE::Rand48> register_Rand48();

class PYIMATH_EXPORT Rand32
{
  public:
    static PyObject *	wrap (const IMATH_NAMESPACE::Rand32 &r);
};

class PYIMATH_EXPORT Rand48
{
  public:
    static PyObject *	wrap (const IMATH_NAMESPACE::Rand48 &r);
};

}

#endif