From 44574b9463fd313d08e4a29ac73d9cacf6714603 Mon Sep 17 00:00:00 2001 From: Philip Chimento 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. git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@101 ddfedd41-794f-dd11-ae45-00112f111e67 --- 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