diff options
| author | Petr Mrázek | 2012-02-21 18:19:17 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-02-21 18:19:17 +0100 |
| commit | 2cd2ee9b0cc10b79f264c3a9a4597f59835fd419 (patch) | |
| tree | 7d95cbe0b7abd5d42990a15ed8b8d801a08a48ad /plugins/probe.cpp | |
| parent | 0b9e849096c95d68c6235c266560a2fb58908151 (diff) | |
| download | dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.gz dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.bz2 dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.xz | |
New plugin interface
Diffstat (limited to 'plugins/probe.cpp')
| -rw-r--r-- | plugins/probe.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/probe.cpp b/plugins/probe.cpp index 2f7cbd83..970a0735 100644 --- a/plugins/probe.cpp +++ b/plugins/probe.cpp @@ -34,10 +34,7 @@ using df::global::world; command_result df_probe (Core * c, vector <string> & parameters); command_result df_cprobe (Core * c, vector <string> & parameters); -DFhackCExport const char * plugin_name ( void ) -{ - return "probe"; -} +DFHACK_PLUGIN("probe"); DFhackCExport command_result plugin_init ( Core * c, std::vector <PluginCommand> &commands) { |
