summaryrefslogtreecommitdiff
path: root/plugins/plants.cpp
diff options
context:
space:
mode:
authorQuietust2012-02-13 22:54:08 -0600
committerQuietust2012-02-13 22:54:08 -0600
commit091bf62aa8dc4f27ab48e2072be65e9b6741e304 (patch)
tree27da5ac1686f292dc0a172b3edcbe722b076f249 /plugins/plants.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/plants.cpp')
-rw-r--r--plugins/plants.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/plants.cpp b/plugins/plants.cpp
index 48a64bf6..88407201 100644
--- a/plugins/plants.cpp
+++ b/plugins/plants.cpp
@@ -20,9 +20,9 @@ using std::string;
using namespace DFHack;
using df::global::world;
-DFhackCExport command_result df_grow (Core * c, vector <string> & parameters);
-DFhackCExport command_result df_immolate (Core * c, vector <string> & parameters);
-DFhackCExport command_result df_extirpate (Core * c, vector <string> & parameters);
+command_result df_grow (Core * c, vector <string> & parameters);
+command_result df_immolate (Core * c, vector <string> & parameters);
+command_result df_extirpate (Core * c, vector <string> & parameters);
DFhackCExport const char * plugin_name ( void )
{
@@ -162,7 +162,7 @@ static command_result immolations (Core * c, do_what what, bool shrubs, bool tre
return CR_OK;
}
-DFhackCExport command_result df_immolate (Core * c, vector <string> & parameters)
+command_result df_immolate (Core * c, vector <string> & parameters)
{
bool shrubs = false, trees = false, help = false;
if(getoptions(parameters,shrubs,trees,help))
@@ -176,7 +176,7 @@ DFhackCExport command_result df_immolate (Core * c, vector <string> & parameters
}
}
-DFhackCExport command_result df_extirpate (Core * c, vector <string> & parameters)
+command_result df_extirpate (Core * c, vector <string> & parameters)
{
bool shrubs = false, trees = false, help = false;
if(getoptions(parameters,shrubs,trees, help))
@@ -190,7 +190,7 @@ DFhackCExport command_result df_extirpate (Core * c, vector <string> & parameter
}
}
-DFhackCExport command_result df_grow (Core * c, vector <string> & parameters)
+command_result df_grow (Core * c, vector <string> & parameters)
{
for(size_t i = 0; i < parameters.size();i++)
{