Fix class/struct mismatches

This commit is contained in:
Maxime Coste 2013-02-18 14:00:43 +01:00
parent bd5955c737
commit 67971995f8
7 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@
namespace Kakoune namespace Kakoune
{ {
class Context; struct Context;
typedef std::vector<String> CandidateList; typedef std::vector<String> CandidateList;

View File

@ -87,7 +87,7 @@ public:
bool is_editing() const { return m_edition_level!= 0; } bool is_editing() const { return m_edition_level!= 0; }
private: private:
friend class scoped_edition; friend struct scoped_edition;
void begin_edition(); void begin_edition();
void end_edition(); void end_edition();

View File

@ -12,7 +12,7 @@ namespace Kakoune
{ {
class Buffer; class Buffer;
class Selection; struct Selection;
// A Filter is a function which is applied to a Buffer and a pending // A Filter is a function which is applied to a Buffer and a pending
// Modification in order to mutate the Buffer or the Modification // Modification in order to mutate the Buffer or the Modification

View File

@ -8,7 +8,7 @@
namespace Kakoune namespace Kakoune
{ {
class Context; struct Context;
typedef std::function<void (const String&, Context&)> HookFunc; typedef std::function<void (const String&, Context&)> HookFunc;
class HookManager class HookManager

View File

@ -7,7 +7,7 @@
namespace Kakoune namespace Kakoune
{ {
class Context; struct Context;
class Register class Register
{ {

View File

@ -9,7 +9,7 @@
namespace Kakoune namespace Kakoune
{ {
class Context; struct Context;
typedef std::function<String (const String& name, const Context&)> EnvVarRetriever; typedef std::function<String (const String& name, const Context&)> EnvVarRetriever;
typedef std::unordered_map<String, String> EnvVarMap; typedef std::unordered_map<String, String> EnvVarMap;

View File

@ -11,7 +11,7 @@ namespace Kakoune
class String; class String;
class DisplayBuffer; class DisplayBuffer;
class DisplayCoord; struct DisplayCoord;
enum class MenuStyle enum class MenuStyle
{ {