From b2cf35c26d5263f3079480208429e3a1d7dd2373 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 3 Sep 2014 13:55:40 -0400 Subject: base: Make sure all inline functions get emitted, even internal ones. --- libdimension/Makefile.am | 1 + libdimension/base/inline.c | 2 +- libdimension/internal/all.h | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 libdimension/internal/all.h diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am index 5c14363..7dcb84a 100644 --- a/libdimension/Makefile.am +++ b/libdimension/Makefile.am @@ -91,6 +91,7 @@ libdimension_la_SOURCES = $(nobase_include_HEADERS) \ concurrency/threads.c \ dimension.h \ internal.h \ + internal/all.h \ internal/bvh.h \ internal/compiler.h \ internal/future.h \ diff --git a/libdimension/base/inline.c b/libdimension/base/inline.c index b0622fe..4ea5f5e 100644 --- a/libdimension/base/inline.c +++ b/libdimension/base/inline.c @@ -40,4 +40,4 @@ #define DMNSN_INLINE static #endif -#include "dimension.h" +#include "internal/all.h" diff --git a/libdimension/internal/all.h b/libdimension/internal/all.h new file mode 100644 index 0000000..554981a --- /dev/null +++ b/libdimension/internal/all.h @@ -0,0 +1,34 @@ +/************************************************************************* + * Copyright (C) 2010-2014 Tavian Barnes * + * * + * This file is part of The Dimension Library. * + * * + * The Dimension Library 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 Library 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 * + * . * + *************************************************************************/ + +/** + * @file + * All headers, internal or otherwise. + */ + +#include "internal.h" +#include "dimension.h" +#include "internal/bvh.h" +#include "internal/concurrency.h" +#include "internal/future.h" +#include "internal/platform.h" +#include "internal/polynomial.h" +#include "internal/prtree.h" +#include "internal/rgba.h" -- cgit v1.2.3