From 1e455f59adbff81aa3ac6cdb2fe1d46e099630d3 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 13 Jul 2007 00:38:54 +0000 Subject: [PATCH] --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401098 --- plugins/include/core.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/include/core.inc b/plugins/include/core.inc index cf23b906..b1f3e138 100644 --- a/plugins/include/core.inc +++ b/plugins/include/core.inc @@ -91,8 +91,18 @@ struct Extension bool:required, /**< Whether or not to require */ }; +/** + * Defines how a plugin must expose itself for native requiring. + */ +struct SharedPlugin +{ + const String:name[], /**< Short name */ + bool:required, /**< Whether or not to require */ +}; + public Float:NULL_VECTOR[3]; /**< Pass this into certain functions to act as a C++ NULL */ public const String:NULL_STRING[1]; /**< pass this into certain functions to act as a C++ NULL */ #define AUTOLOAD_EXTENSIONS #define REQUIRE_EXTENSIONS +#define REQUIRE_PLUGIN