1cec8df45e
As in upcoming std c++ array_view, ArrayView<T> points to mutable data, use ArrayView<const T> or alias ConstArrayView<T> for const data.
18 lines
262 B
C++
18 lines
262 B
C++
#ifndef commands_hh_INCLUDED
|
|
#define commands_hh_INCLUDED
|
|
|
|
#include "keys.hh"
|
|
#include "array_view.hh"
|
|
|
|
namespace Kakoune
|
|
{
|
|
|
|
class Context;
|
|
|
|
void register_commands();
|
|
void exec_keys(ConstArrayView<Key> keys, Context& context);
|
|
|
|
}
|
|
|
|
#endif // commands_hh_INCLUDED
|