文件操作 - PyImathRandom.h
返回文件管理
返回主菜单
删除本文件
文件: /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
修改文件时间
将文件时间修改为当前时间的前一年
删除文件