diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 11:58:47 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:54 +0100 |
commit | c315b41d8fd2ee37a36eaaafec10994623392df3 (patch) | |
tree | 6f338e8ef5bcb37b8f02a6b4f6792bf54fb5712d /src/spell_type.hpp | |
parent | 45ec003a1de7857ac7dddb0732a9d005612b886f (diff) |
Rework spell_type_description_foreach to use lambdas
Diffstat (limited to 'src/spell_type.hpp')
-rw-r--r-- | src/spell_type.hpp | 7 |
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)>); |