summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/interior.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/interior.h')
-rw-r--r--libdimension/dimension/interior.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/libdimension/dimension/interior.h b/libdimension/dimension/interior.h
index a52c225..691b053 100644
--- a/libdimension/dimension/interior.h
+++ b/libdimension/dimension/interior.h
@@ -1,5 +1,5 @@
/*************************************************************************
- * Copyright (C) 2010 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2010-2011 Tavian Barnes <tavianator@tavianator.com> *
* *
* This file is part of The Dimension Library. *
* *
@@ -25,15 +25,10 @@
/** An interior. */
typedef struct dmnsn_interior {
- double ior; /**< Refractive index. */
-
+ double ior; /**< Refractive index. */
dmnsn_free_fn *free_fn; /**< Destructor callback. */
-
- /** Generic pointer. */
- void *ptr;
-
- /** @internal Reference count. */
- dmnsn_refcount refcount;
+ void *ptr; /**< Generic pointer. */
+ DMNSN_REFCOUNT; /**< Reference count. */
} dmnsn_interior;
/**