summaryrefslogtreecommitdiff
path: root/libtk/extns.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtk/extns.c')
-rw-r--r--libtk/extns.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/libtk/extns.c b/libtk/extns.c
new file mode 100644
index 00000000..c87cc29a
--- /dev/null
+++ b/libtk/extns.c
@@ -0,0 +1,37 @@
+#include "lib9.h"
+#include "draw.h"
+#include "tk.h"
+
+int
+tkextndeliver(Tk *tk, TkAction *binds, int event, void *data)
+{
+ return tksubdeliver(tk, binds, event, data, 1);
+}
+
+void
+tkextnfreeobj(Tk *tk)
+{
+ USED(tk);
+}
+
+int
+tkextnnewctxt(TkCtxt *ctxt)
+{
+ USED(ctxt);
+ return 0;
+}
+
+void
+tkextnfreectxt(TkCtxt *ctxt)
+{
+ USED(ctxt);
+}
+
+char*
+tkextnparseseq(char *seq, char *rest, int *event)
+{
+ USED(seq);
+ USED(rest);
+ USED(event);
+ return nil;
+}