aboutsummaryrefslogtreecommitdiff
path: root/src/storycode.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-08-12 14:54:45 +0200
committerThomas White <taw@bitwiz.org.uk>2012-08-12 14:54:45 +0200
commit3795b390e6923670d5510acc37315dc9e3668b09 (patch)
tree6cb236860acd89907516f645965435887bd006cd /src/storycode.c
parentf8d5a4d3c2eed0fde67371159a0ffc3c7d3849c3 (diff)
Basic structure for frames
Diffstat (limited to 'src/storycode.c')
-rw-r--r--src/storycode.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/storycode.c b/src/storycode.c
index f3c2e27..446d277 100644
--- a/src/storycode.c
+++ b/src/storycode.c
@@ -3,7 +3,7 @@
*
* Colloquium - A tiny presentation program
*
- * Copyright (c) 2011 Thomas White <taw@bitwiz.org.uk>
+ * Copyright (c) 2012 Thomas White <taw@bitwiz.org.uk>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,5 +26,20 @@
#endif
#include <assert.h>
+#include <stdlib.h>
#include "storycode.h"
+#include "presentation.h"
+
+
+struct frame *unpack_storycode(const char *sc)
+{
+ struct frame *fr;
+
+ fr = calloc(1, sizeof(struct frame));
+ if ( fr == NULL ) return NULL;
+
+
+
+ return fr;
+}