diff options
Diffstat (limited to 'src/interactive.h')
-rw-r--r-- | src/interactive.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interactive.h b/src/interactive.h index a0388726..0396b1c8 100644 --- a/src/interactive.h +++ b/src/interactive.h @@ -92,6 +92,10 @@ inline bool interactive_t::get<bool>(std::size_t index) { return value_at(index).to_boolean(); } template <> +inline int interactive_t::get<int>(std::size_t index) { + return value_at(index).to_int(); +} +template <> inline long interactive_t::get<long>(std::size_t index) { return value_at(index).to_long(); } |