Sha256: a9d611ac8041fb1a43d3d27e46ab70052b2320d9c65ee27879f6fe6f8dbe1ae9
Contents?: true
Size: 708 Bytes
Versions: 13
Compression:
Stored size: 708 Bytes
Contents
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_PYaSSERT_Hh_ #define DLIB_PYaSSERT_Hh_ #include <boost/python.hpp> #define pyassert(_exp,_message) \ {if ( !(_exp) ) \ { \ PyErr_SetString( PyExc_ValueError, _message ); \ boost::python::throw_error_already_set(); \ }} #endif // DLIB_PYaSSERT_Hh_
Version data entries
13 entries across 13 versions & 1 rubygems