summaryrefslogtreecommitdiffstats
path: root/libdimension/scene.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-06-26 15:31:34 +0000
committerTavian Barnes <tavianator@gmail.com>2009-06-26 15:31:34 +0000
commit3ee98f3bac24fd1c70a9de3e0fbe774e762c25b3 (patch)
treeddc8d088662a88101670150c491012427c85b5bf /libdimension/scene.c
parentd56d643d412e06ff1e5239f8ebbd96f716b416bd (diff)
downloaddimension-3ee98f3bac24fd1c70a9de3e0fbe774e762c25b3.tar.xz
Add lots of comments, and some code fixes discovered in the process.
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r--libdimension/scene.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c
index 048ad45..9405f03 100644
--- a/libdimension/scene.c
+++ b/libdimension/scene.c
@@ -21,6 +21,7 @@
#include "dimension.h"
#include <stdlib.h> /* For malloc */
+/* Allocate an empty scene */
dmnsn_scene *
dmnsn_new_scene()
{
@@ -30,6 +31,7 @@ dmnsn_new_scene()
return scene;
}
+/* Free a scene */
void
dmnsn_delete_scene(dmnsn_scene *scene)
{