aboutsummaryrefslogtreecommitdiff
path: root/doc/plugin_tutorial/tuto2/src/counter.mli
diff options
context:
space:
mode:
authorTalia Ringer2019-06-07 06:59:16 -0400
committerTalia Ringer2019-06-13 12:40:51 -0400
commit2f5fefcd76259d5e0aee5ef5076ae4c4dd662ec1 (patch)
treef167bb4373c4b305c0b87b436f5a256f623f81a1 /doc/plugin_tutorial/tuto2/src/counter.mli
parentac854a5542b2118be5dfd7bd26d9e3a5db945167 (diff)
Update, expand, and document plugin tutorial 2
Diffstat (limited to 'doc/plugin_tutorial/tuto2/src/counter.mli')
-rw-r--r--doc/plugin_tutorial/tuto2/src/counter.mli13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/plugin_tutorial/tuto2/src/counter.mli b/doc/plugin_tutorial/tuto2/src/counter.mli
new file mode 100644
index 0000000000..984bc1d2cc
--- /dev/null
+++ b/doc/plugin_tutorial/tuto2/src/counter.mli
@@ -0,0 +1,13 @@
+(*
+ * This file defines our counter, which we use in the Count command.
+ *)
+
+(*
+ * Increment the counter
+ *)
+val increment : unit -> unit
+
+(*
+ * Determine the value of the counter
+ *)
+val value : unit -> int