aboutsummaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-05-17 22:56:55 +0200
committerThomas White <taw@bitwiz.org.uk>2016-05-17 22:56:55 +0200
commitac97e289f8555a09c5302bdc8631721505807ef2 (patch)
treef42af9922f02c576cf9c143cfa97f809823669c9 /src/frame.c
parent4ea72c5e6d460864527642e0c265f4ff1f70b6fe (diff)
Advance slide from narrative window
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index ebc6857..fb849a4 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1010,3 +1010,9 @@ Paragraph *current_para(struct frame *fr)
return NULL;
}
+
+void *get_para_bvp(Paragraph *para)
+{
+ if ( para->type != PARA_TYPE_CALLBACK ) return NULL;
+ return para->bvp;
+}