Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm32 <grzegorz.makarewicz@gmail.com>2021-07-21 14:47:44 +0300
committerm32 <grzegorz.makarewicz@gmail.com>2021-07-21 14:47:44 +0300
commit4a264c695d7e2ed4f8591cc797e2eb344903c551 (patch)
treed0d977ba15b01bf66fd54644531cbf2ca2d0819b /python/configs
parent6f99097eb8b8983e3aa136676dc03068d60d940b (diff)
automatically generated cffi module, which is able to catch errors of structures from plugin.hpp during compilation
Diffstat (limited to 'python/configs')
-rw-r--r--python/configs/plug/far2l/plugin.hpp23
1 files changed, 11 insertions, 12 deletions
diff --git a/python/configs/plug/far2l/plugin.hpp b/python/configs/plug/far2l/plugin.hpp
index b291f976..fb417527 100644
--- a/python/configs/plug/far2l/plugin.hpp
+++ b/python/configs/plug/far2l/plugin.hpp
@@ -10,8 +10,6 @@
typedef struct _INPUT_RECORD INPUT_RECORD;
typedef struct _CHAR_INFO CHAR_INFO;
-#define CP_UNICODE 1200
-#define CP_REVERSEBOM 1201
#define CP_AUTODETECT -1
enum FARMESSAGEFLAGS
@@ -659,9 +657,9 @@ struct CmdLineSelect
int SelEnd;
};
-#define PANEL_NONE -1
-#define PANEL_ACTIVE -1
-#define PANEL_PASSIVE -2
+//#define PANEL_NONE -1
+//#define PANEL_ACTIVE -1
+//#define PANEL_PASSIVE -2
enum FILE_CONTROL_COMMANDS
{
@@ -1021,7 +1019,6 @@ enum FARKEYSEQUENCEFLAGS
{
KSFLAGS_DISABLEOUTPUT = 0x00000001,
KSFLAGS_NOSENDKEYSTOPLUGINS = 0x00000002,
- KSFLAGS_REG_MULTI_SZ = 0x00100000,
KSFLAGS_SILENTCHECK = 0x00000001,
};
@@ -1276,7 +1273,8 @@ struct ViewerMode
int Wrap;
int WordWrap;
int Hex;
- DWORD Reserved[4];
+ int Processed;
+ DWORD Reserved[3];
};
struct ViewerInfo
@@ -1332,9 +1330,9 @@ enum SYNCHRO_EVENTS
SE_COMMONSYNCHRO =0,
};
-#define EEREDRAW_ALL 0
-#define EEREDRAW_CHANGE 1
-#define EEREDRAW_LINE 2
+//#define EEREDRAW_ALL 0
+//#define EEREDRAW_CHANGE 1
+//#define EEREDRAW_LINE 2
enum EDITOR_CONTROL_COMMANDS
{
@@ -1739,7 +1737,8 @@ typedef struct FarStandardFunctions
FARSTDSNPRINTF snprintf;
// </C&C++>
- DWORD_PTR Reserved[8];
+ DWORD_PTR Reserved[7];
+ const WCHAR * BoxSymbols; // indexed via BOX_DEF_SYMBOLS
FARSTDLOCALISLOWER LIsLower;
FARSTDLOCALISUPPER LIsUpper;
@@ -1779,7 +1778,7 @@ typedef struct FarStandardFunctions
FARSTDMKLINK MkLink;
FARCONVERTPATH ConvertPath;
FARGETREPARSEPOINTINFO GetReparsePointInfo;
- FARGETCURRENTDIRECTORY GetCurrentDirectory;
+// FARGETCURRENTDIRECTORY GetCurrentDirectory;
} FARSTANDARDFUNCTIONS;
struct PluginStartupInfo