Mercurial > pytave
diff exceptions.h @ 141:4e5a620758fc
Use consistent Octave style for header files
* arrayobjectdefs.h, exceptions.h, octave_to_python.h, python_to_octave.h:
Use Octave style for include guards and block comments. Include external
header files for types used in declarations.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Mon, 04 Apr 2016 17:48:33 -0700 |
parents | b12908ffa6df |
children | 8e3d06f2f5cf |
line wrap: on
line diff
--- a/exceptions.h Mon Apr 04 17:41:15 2016 -0700 +++ b/exceptions.h Mon Apr 04 17:48:33 2016 -0700 @@ -20,8 +20,11 @@ */ -#ifndef PYTAVE_EXCEPTIONS_H -#define PYTAVE_EXCEPTIONS_H +#if ! defined (pytave_exceptions_h) +#define pytave_exceptions_h + +#include <Python.h> +#include <string> namespace pytave { @@ -138,4 +141,4 @@ } -#endif /* PYTAVE_EXCEPTIONS_H */ +#endif