summaryrefslogtreecommitdiff
path: root/src/spell_type.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-23 11:58:47 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commitc315b41d8fd2ee37a36eaaafec10994623392df3 (patch)
tree6f338e8ef5bcb37b8f02a6b4f6792bf54fb5712d /src/spell_type.hpp
parent45ec003a1de7857ac7dddb0732a9d005612b886f (diff)
Rework spell_type_description_foreach to use lambdas
Diffstat (limited to 'src/spell_type.hpp')
-rw-r--r--src/spell_type.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/spell_type.hpp b/src/spell_type.hpp
new file mode 100644
index 00000000..1817e6a8
--- /dev/null
+++ b/src/spell_type.hpp
@@ -0,0 +1,7 @@
+#pragma once
+
+#include "spell_type_fwd.h"
+#include <string>
+#include <functional>
+
+void spell_type_description_foreach(spell_type *spell, std::function<void (std::string const &text)>);