From 200c86b91ea7063d35be3bffc11c5da53c054653 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 18 Aug 2014 18:17:11 -0400 Subject: Move some headers around and make new ones. --- libdimension/dimension.h | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'libdimension/dimension.h') diff --git a/libdimension/dimension.h b/libdimension/dimension.h index 71c68fa..fc3a681 100644 --- a/libdimension/dimension.h +++ b/libdimension/dimension.h @@ -20,25 +20,21 @@ /** * @file - * The main \#include file for libdimension. This file declares all public - * functions and types used by the Dimension library. You should never attempt - * to include any of the component headers in the dimension/ subdirectory - * directly; only this file. + * The main \#include file for the Dimension library. This file declares all + * of its public functions and types. */ /** * @mainpage libdimension - A library for photo-realistic 3-D rendering * * The Dimension library (libdimension) is the ray-tracing library that handles - * all rendering-related tasks for Dimension. It is written in C and designed - * with performance and concurrency in mind. It is also generic enough to be - * used for applications other than Dimension, though that is its primary - * purpose. + * all rendering-related tasks for Dimension. */ #ifndef DIMENSION_H #define DIMENSION_H +/* Include compiler.h first for DMNSN_CXX */ #include #if DMNSN_CXX @@ -46,15 +42,8 @@ extern "C" { #endif -/* Common types */ - -/** - * Generic callback type. - * @param[in,out] ptr A pointer to an object to act on. - */ -typedef void dmnsn_callback_fn(void *ptr); - /* Include all the libdimension headers */ +#include #include #include #include @@ -62,6 +51,7 @@ typedef void dmnsn_callback_fn(void *ptr); #include #include #include +#include #include #include #include -- cgit v1.2.3