From da6f343032cb01597dc7866e66f091adf3243a62 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 20 Nov 2021 03:10:50 +0000 Subject: Initial public snapshot With code from Bill. Thanks Bill! --- src/factory.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/factory.h (limited to 'src/factory.h') diff --git a/src/factory.h b/src/factory.h new file mode 100644 index 0000000..a72afef --- /dev/null +++ b/src/factory.h @@ -0,0 +1,13 @@ +/* This file is dedicated to the public domain. */ + +#ifndef INC_FACTORY_H +#define INC_FACTORY_H + +/* Access to game and engine factories obtained on plugin load */ + +typedef void *(*ifacefactory)(const char *name, int *ret); +extern ifacefactory factory_client, factory_server, factory_engine; + +#endif + +// vi: sw=4 ts=4 noet tw=80 cc=80 -- cgit v1.2.3