summaryrefslogtreecommitdiff
path: root/pcl/pl/pltop.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcl/pl/pltop.c')
-rw-r--r--pcl/pl/pltop.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcl/pl/pltop.c b/pcl/pl/pltop.c
index 0c2936890..174b3362b 100644
--- a/pcl/pl/pltop.c
+++ b/pcl/pl/pltop.c
@@ -217,3 +217,10 @@ pl_deallocate_interp_instance(pl_interp_implementation_t * impl) /* instance t
return 0;
return impl->proc_deallocate_interp_instance(impl);
}
+
+int pl_reset(pl_interp_implementation_t *impl, pl_interp_reset_reason reason)
+{
+ if (impl->reset == NULL)
+ return 0;
+ return impl->reset(impl, reason);
+}