Commit 0eb82968 authored by Davis King's avatar Davis King

Added missing #include and inclusion guard

parent 8da213cc
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_PYaSSERT_H__
#define DLIB_PYaSSERT_H__
#include <boost/python.hpp>
#define pyassert(_exp,_message) \
{if ( !(_exp) ) \
......@@ -8,3 +11,6 @@
PyErr_SetString( PyExc_ValueError, _message ); \
boost::python::throw_error_already_set(); \
}}
#endif // DLIB_PYaSSERT_H__
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment