From da2fd2eb58f6aa8fa4ecf370b40e08f7f52cd866 Mon Sep 17 00:00:00 2001 From: fliep Date: Tue, 9 Jun 2009 21:48:39 +0000 Subject: [PATCH] Added garglk.c and garglk.h, which is where stubs for Gargoyle's Glk API extensions should go. --- interpreters/frotz/Makefile.am | 3 +-- libchimara/garglk.c | 6 ++++++ libchimara/garglk.h | 6 ++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 libchimara/garglk.c create mode 100644 libchimara/garglk.h diff --git a/interpreters/frotz/Makefile.am b/interpreters/frotz/Makefile.am index 34bcfa4..9a1008a 100644 --- a/interpreters/frotz/Makefile.am +++ b/interpreters/frotz/Makefile.am @@ -1,4 +1,4 @@ -PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk_main$$" +PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk" pkglib_LTLIBRARIES = frotz.la frotz_la_SOURCES = buffer.c err.c fastmem.c files.c input.c main.c math.c \ @@ -8,4 +8,3 @@ frotz_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) frotzdocdir = $(datadir)/doc/$(PACKAGE)/frotz dist_frotzdoc_DATA = AUTHORS COPYING README TODO - diff --git a/libchimara/garglk.c b/libchimara/garglk.c new file mode 100644 index 0000000..4708174 --- /dev/null +++ b/libchimara/garglk.c @@ -0,0 +1,6 @@ +#include + +void +garglk_set_reversevideo(glui32 reverse) +{ +} diff --git a/libchimara/garglk.h b/libchimara/garglk.h new file mode 100644 index 0000000..e5234b7 --- /dev/null +++ b/libchimara/garglk.h @@ -0,0 +1,6 @@ +#ifndef __GARGLK_H__ +#define __GARGLK_H__ + +extern void garglk_set_reversevideo(glui32 reverse); + +#endif /* __GARGLK_H__ */ \ No newline at end of file -- 2.30.2