From: fliep Date: Tue, 9 Jun 2009 21:48:39 +0000 (+0000) Subject: Added garglk.c and garglk.h, which is where stubs for Gargoyle's Glk API extensions... X-Git-Tag: v0.9~364 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=da2fd2eb58f6aa8fa4ecf370b40e08f7f52cd866;p=projects%2Fchimara%2Fchimara.git Added garglk.c and garglk.h, which is where stubs for Gargoyle's Glk API extensions should go. --- 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