Skip to content

Commit

Permalink
В winapi.lua добавлены 2 константы и 5 определений функций.
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Feb 25, 2016
1 parent 152a650 commit 2e2cd2b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion plugins/luamacro/_globalinfo.lua
@@ -1,6 +1,6 @@
function export.GetGlobalInfo()
return {
Version = { 1, 0, 0, 559 },
Version = { 1, 0, 0, 560 },
MinFarVersion = { 3, 0, 0, 4450 },
Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"),
Title = "LuaMacro",
Expand Down
6 changes: 5 additions & 1 deletion plugins/luamacro/changelog
@@ -1,4 +1,8 @@
shmuel 20.02.2016 00:08:38 +0200 - build 559
shmuel 25.02.2016 16:15:44 +0200 - build 560

1. В winapi.lua добавлены 2 константы и 5 определений функций.

shmuel 20.02.2016 00:08:38 +0200 - build 559

1. Исправлен мелкий баг в функции Panel.CustomSortMenu.

Expand Down
2 changes: 1 addition & 1 deletion plugins/luamacro/luamacro.rc
@@ -1,6 +1,6 @@
#include <farversion.hpp>

#define PLUGIN_BUILD 559
#define PLUGIN_BUILD 560
#define PLUGIN_DESC "Lua Macros for Far Manager"
#define PLUGIN_NAME "LuaMacro"
#define PLUGIN_FILENAME "luamacro.dll"
Expand Down
15 changes: 11 additions & 4 deletions plugins/luamacro/winapi.lua
Expand Up @@ -281,7 +281,9 @@ enum {
FILE_ATTRIBUTE_OFFLINE = 0x00001000,
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = 0x00002000,
FILE_ATTRIBUTE_ENCRYPTED = 0x00004000,
FILE_ATTRIBUTE_INTEGRITY_STREAM = 0x00008000,
FILE_ATTRIBUTE_VIRTUAL = 0x00010000,
FILE_ATTRIBUTE_NO_SCRUB_DATA = 0x00020000,
FILE_ATTRIBUTE_VALID_FLAGS = 0x00017fb7,
FILE_ATTRIBUTE_VALID_SET_FLAGS = 0x000031a7,
};
Expand All @@ -305,8 +307,13 @@ int CompareStringW (/*LCID*/ DWORD Locale, DWORD dwCmpFlags, const wchar_t* lpSt
const wchar_t* lpString2, int cchCount2);
//------------------------------------------------------------------------------
size_t wcslen(const wchar_t*);
int wcscmp(const wchar_t*, const wchar_t*);
int _wcsicmp(const wchar_t*, const wchar_t*);
int StrCmpLogicalW(const wchar_t*, const wchar_t*);
int StrCmpLogicalW(const wchar_t*, const wchar_t*);
int _wcsicmp(const wchar_t*, const wchar_t*);
wchar_t* wcschr(const wchar_t*, wchar_t);
int wcscmp(const wchar_t*, const wchar_t*);
size_t wcslen(const wchar_t*);
wchar_t* wcspbrk(const wchar_t *str, const wchar_t *strCharSet);
wchar_t* wcsrchr(const wchar_t*, wchar_t);
size_t wcsspn(const wchar_t *str, const wchar_t *strCharSet);
wchar_t* wcsstr(const wchar_t *str, const wchar_t *strSearch);
]]

0 comments on commit 2e2cd2b

Please sign in to comment.