summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-27 14:05:45 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-27 14:06:14 -0400
commitd96168d4659f5e5cd2f71994a94b6aeafd62e11e (patch)
tree5b77ecb7c8ff11f8615286289425f480362f80a1 /libdimension/dimension
parentb70fa29511471e8a85f9b8c3e8947dbb3c21dedb (diff)
downloaddimension-d96168d4659f5e5cd2f71994a94b6aeafd62e11e.tar.xz
interior: Kill ->ptr field.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/interior.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libdimension/dimension/interior.h b/libdimension/dimension/interior.h
index 691b053..69d3ebf 100644
--- a/libdimension/dimension/interior.h
+++ b/libdimension/dimension/interior.h
@@ -1,5 +1,5 @@
/*************************************************************************
- * Copyright (C) 2010-2011 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2010-2014 Tavian Barnes <tavianator@tavianator.com> *
* *
* This file is part of The Dimension Library. *
* *
@@ -25,10 +25,9 @@
/** An interior. */
typedef struct dmnsn_interior {
- double ior; /**< Refractive index. */
- dmnsn_free_fn *free_fn; /**< Destructor callback. */
- void *ptr; /**< Generic pointer. */
- DMNSN_REFCOUNT; /**< Reference count. */
+ double ior; /**< Refractive index. */
+
+ DMNSN_REFCOUNT; /**< Reference count. */
} dmnsn_interior;
/**