From 7c0e81ee456be8eded08da4b41b361e1db5416f1 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 20 May 2011 09:59:17 -0600 Subject: Rename Python dimension.h to dimension-python.h. --- libdimension-python/Makefile.am | 2 +- libdimension-python/Matrix.h | 2 +- libdimension-python/Scene.h | 2 +- libdimension-python/Vector.h | 2 +- libdimension-python/dimension-python.h | 23 +++++++++++++++++++++++ libdimension-python/dimension.c | 2 +- libdimension-python/dimension.h | 23 ----------------------- 7 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 libdimension-python/dimension-python.h delete mode 100644 libdimension-python/dimension.h (limited to 'libdimension-python') diff --git a/libdimension-python/Makefile.am b/libdimension-python/Makefile.am index 1e1495a..a9e1b8c 100644 --- a/libdimension-python/Makefile.am +++ b/libdimension-python/Makefile.am @@ -33,6 +33,6 @@ dimension_la_SOURCES = Matrix.c \ Vector.c \ Vector.h \ dimension.c \ - dimension.h + dimension-python.h dimension_la_LDFLAGS = -avoid-version -module dimension_la_LIBADD = $(top_builddir)/libdimension/libdimension.la diff --git a/libdimension-python/Matrix.h b/libdimension-python/Matrix.h index 7f7a085..6299618 100644 --- a/libdimension-python/Matrix.h +++ b/libdimension-python/Matrix.h @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension.h" +#include "dimension-python.h" typedef struct dmnsn_py_Matrix { PyObject_HEAD diff --git a/libdimension-python/Scene.h b/libdimension-python/Scene.h index 11ea622..d94bd14 100644 --- a/libdimension-python/Scene.h +++ b/libdimension-python/Scene.h @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension.h" +#include "dimension-python.h" typedef struct dmnsn_py_Scene { PyObject_HEAD diff --git a/libdimension-python/Vector.h b/libdimension-python/Vector.h index 7a8d769..d829e3b 100644 --- a/libdimension-python/Vector.h +++ b/libdimension-python/Vector.h @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension.h" +#include "dimension-python.h" typedef struct dmnsn_py_Vector { PyObject_HEAD diff --git a/libdimension-python/dimension-python.h b/libdimension-python/dimension-python.h new file mode 100644 index 0000000..f365c2c --- /dev/null +++ b/libdimension-python/dimension-python.h @@ -0,0 +1,23 @@ +/************************************************************************* + * Copyright (C) 2009-2011 Tavian Barnes * + * * + * This file is part of The Dimension Python Module. * + * * + * The Dimension Python Module is free software; you can redistribute it * + * and/ or modify it under the terms of the GNU Lesser General Public * + * License as published by the Free Software Foundation; either version * + * 3 of the License, or (at your option) any later version. * + * * + * The Dimension Python Module is distributed in the hope that it will * + * be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See * + * the GNU Lesser General Public License for more details. * + * * + * You should have received a copy of the GNU Lesser General Public * + * License along with this program. If not, see * + * . * + *************************************************************************/ + +#define PY_SSIZE_T_CLEAN +#include +#include "dimension.h" diff --git a/libdimension-python/dimension.c b/libdimension-python/dimension.c index 2b08f6c..a238f31 100644 --- a/libdimension-python/dimension.c +++ b/libdimension-python/dimension.c @@ -18,7 +18,7 @@ * . * *************************************************************************/ -#include "dimension.h" +#include "dimension-python.h" #include "Vector.h" #include "Matrix.h" #include "Scene.h" diff --git a/libdimension-python/dimension.h b/libdimension-python/dimension.h deleted file mode 100644 index aa32b51..0000000 --- a/libdimension-python/dimension.h +++ /dev/null @@ -1,23 +0,0 @@ -/************************************************************************* - * Copyright (C) 2009-2011 Tavian Barnes * - * * - * This file is part of The Dimension Python Module. * - * * - * The Dimension Python Module is free software; you can redistribute it * - * and/ or modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either version * - * 3 of the License, or (at your option) any later version. * - * * - * The Dimension Python Module is distributed in the hope that it will * - * be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See * - * the GNU Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this program. If not, see * - * . * - *************************************************************************/ - -#define PY_SSIZE_T_CLEAN -#include -#include "../libdimension/dimension.h" -- cgit v1.2.3