From bda678bcd4d1ca609b296bcf8effc6364ae88fa2 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Tue, 11 Aug 2020 19:47:04 -0700 Subject: [PATCH] add some explanatory text to the top of the header --- library/include/PluginStatics.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/include/PluginStatics.h b/library/include/PluginStatics.h index d0835e90f..061fd3a21 100644 --- a/library/include/PluginStatics.h +++ b/library/include/PluginStatics.h @@ -1,3 +1,11 @@ +/* + * This file and the companion PluginStatics.cpp contain static structures used + * by DFHack plugins. Linking them here, into the dfhack library, instead of + * into the plugins themselves allows the plugins to be freely unloaded and + * reloaded without fear of causing cached references to static data becoming + * corrupted. + */ + #pragma once #include "DataIdentity.h"