X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fglkstart.c;fp=libchimara%2Fglkstart.c;h=e9baf360339c578834e651b643d0454522cbadc6;hb=0b85f1dd5993e2ed111ec2ba13bbbb4ebda06ada;hp=0000000000000000000000000000000000000000;hpb=08f8444e2ae5480eea1cf7e2c1e2eb57f46152db;p=rodin%2Fchimara.git diff --git a/libchimara/glkstart.c b/libchimara/glkstart.c new file mode 100644 index 0000000..e9baf36 --- /dev/null +++ b/libchimara/glkstart.c @@ -0,0 +1,24 @@ +/* glkstart.c: Unix-specific startup code -- sample file. + Designed by Andrew Plotkin + http://www.eblong.com/zarf/glk/index.html + + This is Unix startup code for the simplest possible kind of Glk + program -- no command-line arguments; no startup files; no nothing. + + Remember, this is a sample file. You should copy it into the Glk + program you are compiling, and modify it to your needs. This should + *not* be compiled into the Glk library itself. +*/ + +#include "glk.h" +#include "glkstart.h" + +glkunix_argumentlist_t glkunix_arguments[] = { + { NULL, glkunix_arg_End, NULL } +}; + +int glkunix_startup_code(glkunix_startup_t *data) +{ + return TRUE; +} +