Server : Apache System : Linux dedi-14684855.grupobig.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : grupo692 ( 1004) PHP Version : 8.3.32 Disable Function : NONE Directory : /proc/thread-self/root/usr/include/Imath/ |
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
//
// clang-format off
#ifndef _PyImathBufferProtocol_h_
#define _PyImathBufferProtocol_h_
#include <boost/python.hpp>
namespace PyImath {
// For more information on working with the protocol see:
//
// https://docs.python.org/2.7/c-api/buffer.html
// https://docs.python.org/3.7.10/c-api/buffer.html
template <class T>
void add_buffer_protocol (boost::python::class_<T> &classObj);
template <class ArrayT>
ArrayT* fixedArrayFromBuffer (PyObject *obj);
}
#endif