Test example program.
[wrappi.git] / APIs / error.api
diff --git a/APIs/error.api b/APIs/error.api
new file mode 100644 (file)
index 0000000..0ec07c2
--- /dev/null
@@ -0,0 +1,11 @@
+entry_point local
+bool error ()
+<<
+  return w->error_flag;
+>>
+
+entry_point local
+void clear_error ()
+<<
+  w->error_flag = 0;
+>>
\ No newline at end of file