summaryrefslogtreecommitdiff
path: root/plugins/autodump.cpp
diff options
context:
space:
mode:
authorQuietust2012-02-13 22:54:08 -0600
committerQuietust2012-02-13 22:54:08 -0600
commit091bf62aa8dc4f27ab48e2072be65e9b6741e304 (patch)
tree27da5ac1686f292dc0a172b3edcbe722b076f249 /plugins/autodump.cpp
parent2fd2e3dce2318789f68d2da30a94b344cf0c1bc2 (diff)
downloaddfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.gz
dfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.bz2
dfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.xz
DFhackCExport is only needed on the plugin_* functions
Diffstat (limited to 'plugins/autodump.cpp')
-rw-r--r--plugins/autodump.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/autodump.cpp b/plugins/autodump.cpp
index fd94e466..8eb2fc62 100644
--- a/plugins/autodump.cpp
+++ b/plugins/autodump.cpp
@@ -32,9 +32,9 @@ using MapExtras::Block;
using MapExtras::MapCache;
using df::global::world;
-DFhackCExport command_result df_autodump(Core * c, vector <string> & parameters);
-DFhackCExport command_result df_autodump_destroy_here(Core * c, vector <string> & parameters);
-DFhackCExport command_result df_autodump_destroy_item(Core * c, vector <string> & parameters);
+command_result df_autodump(Core * c, vector <string> & parameters);
+command_result df_autodump_destroy_here(Core * c, vector <string> & parameters);
+command_result df_autodump_destroy_item(Core * c, vector <string> & parameters);
DFhackCExport const char * plugin_name ( void )
{
@@ -283,14 +283,14 @@ static command_result autodump_main(Core * c, vector <string> & parameters)
return CR_OK;
}
-DFhackCExport command_result df_autodump(Core * c, vector <string> & parameters)
+command_result df_autodump(Core * c, vector <string> & parameters)
{
CoreSuspender suspend(c);
return autodump_main(c, parameters);
}
-DFhackCExport command_result df_autodump_destroy_here(Core * c, vector <string> & parameters)
+command_result df_autodump_destroy_here(Core * c, vector <string> & parameters)
{
// HOTKEY COMMAND; CORE ALREADY SUSPENDED
if (!parameters.empty())
@@ -305,7 +305,7 @@ DFhackCExport command_result df_autodump_destroy_here(Core * c, vector <string>
static map<int, df::item_flags> pending_destroy;
static int last_frame = 0;
-DFhackCExport command_result df_autodump_destroy_item(Core * c, vector <string> & parameters)
+command_result df_autodump_destroy_item(Core * c, vector <string> & parameters)
{
// HOTKEY COMMAND; CORE ALREADY SUSPENDED
if (!parameters.empty())