HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PyImathRandom.h
Go to the documentation of this file.
1 //
2 // SPDX-License-Identifier: BSD-3-Clause
3 // Copyright Contributors to the OpenEXR Project.
4 //
5 
6 // clang-format off
7 
8 #ifndef _PyImathRandom_h_
9 #define _PyImathRandom_h_
10 
11 #include <Python.h>
12 #define HBOOST_BIND_GLOBAL_PLACEHOLDERS
13 #include <hboost/python.hpp>
14 #include <ImathRandom.h>
15 #include "PyImathExport.h"
16 
17 namespace PyImath {
18 
19 PYIMATH_EXPORT hboost::python::class_<IMATH_NAMESPACE::Rand32> register_Rand32();
20 PYIMATH_EXPORT hboost::python::class_<IMATH_NAMESPACE::Rand48> register_Rand48();
21 
23 {
24  public:
25  static PyObject * wrap (const IMATH_NAMESPACE::Rand32 &r);
26 };
27 
29 {
30  public:
31  static PyObject * wrap (const IMATH_NAMESPACE::Rand48 &r);
32 };
33 
34 }
35 
36 #endif
#define PYIMATH_EXPORT
Definition: PyImathExport.h:25
PYIMATH_EXPORT hboost::python::class_< IMATH_NAMESPACE::Rand32 > register_Rand32()
GLboolean r
Definition: glcorearb.h:1222
PYIMATH_EXPORT hboost::python::class_< IMATH_NAMESPACE::Rand48 > register_Rand48()