publish changes
This commit is contained in:
parent
afc5064a7b
commit
ac2c6ac843
1605 changed files with 3354 additions and 3354 deletions
|
@ -46,7 +46,7 @@ size_t utf16BE_to_utf8(const uint16_t *src, size_t source_len, char *dst, size_t
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
int WINAPI NDE_FindNLSString(LCID Locale, DWORD dwFindNLSStringFlags, LPCWSTR lpStringSource, int cchSource, LPCWSTR lpStringValue, int cchValue, LPINT pcchFound);
|
||||
extern int (WINAPI *findNLSString)(LCID Locale, DWORD dwFindNLSStringFlags, LPCWSTR lpStringSource, int cchSource, LPCWSTR lpStringValue, int cchValue, LPINT pcchFound);
|
||||
bool nde_wcsbegins(const wchar_t *a, const wchar_t *b);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "NDEString.h"
|
||||
#include "foundation/error.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
|
||||
typedef BOOL (WINAPI *HEAPSETINFORMATION)(HANDLE HeapHandle, HEAP_INFORMATION_CLASS HeapInformationClass, PVOID HeapInformation, SIZE_T HeapInformationLength);
|
||||
|
||||
|
|
|
@ -662,7 +662,7 @@ void Table::Compact(int *progress) {
|
|||
if (progress != NULL) *progress = 100;
|
||||
return;
|
||||
}
|
||||
// create a temporary table in windows temp dir
|
||||
// create a temporary table in arch temp dir
|
||||
wchar_t temp_table[MAX_PATH+12];
|
||||
wchar_t temp_index[MAX_PATH+12];
|
||||
wchar_t old_table[MAX_PATH+12];
|
||||
|
|
|
@ -106,7 +106,7 @@ NDE_API int NDE_IntegerField_GetValue(nde_field_t field);
|
|||
NDE_API nde_field_t NDE_IntegerField_Create(int value); /* mainly used for NDE_Scanner_AddFilterByID */
|
||||
|
||||
/* BinaryField functions */
|
||||
// on windows, the data pointer is optionally reference counted via ndestring (ndestring_retain if you plan on keeping it)
|
||||
// on arch, the data pointer is optionally reference counted via ndestring (ndestring_retain if you plan on keeping it)
|
||||
NDE_API void *NDE_BinaryField_GetData(nde_field_t field, size_t *length);
|
||||
NDE_API void NDE_BinaryField_SetData(nde_field_t field, const void *data, size_t length);
|
||||
|
||||
|
|
|
@ -92,26 +92,26 @@
|
|||
</VcpkgInstalledDir>
|
||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
||||
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<VcpkgInstalledDir>
|
||||
</VcpkgInstalledDir>
|
||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
||||
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<VcpkgInstalledDir>
|
||||
</VcpkgInstalledDir>
|
||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
||||
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<VcpkgInstalledDir>
|
||||
</VcpkgInstalledDir>
|
||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
||||
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
|
|
|
@ -123,7 +123,7 @@ NDE_API int NDE_IntegerField_GetValue(nde_field_t field);
|
|||
NDE_API nde_field_t NDE_IntegerField_Create(int value); /* mainly used for NDE_Scanner_AddFilterByID */
|
||||
|
||||
/* BinaryField functions */
|
||||
// on windows, the data pointer is optionally reference counted via ndestring (ndestring_retain if you plan on keeping it)
|
||||
// on arch, the data pointer is optionally reference counted via ndestring (ndestring_retain if you plan on keeping it)
|
||||
NDE_API void *NDE_BinaryField_GetData(nde_field_t field, size_t *length);
|
||||
NDE_API void NDE_BinaryField_SetData(nde_field_t field, const void *data, size_t length);
|
||||
|
||||
|
|
|
@ -702,7 +702,7 @@ void Table::Compact(int *progress) {
|
|||
if (progress != NULL) *progress = 100;
|
||||
return;
|
||||
}
|
||||
// create a temporary table in windows temp dir
|
||||
// create a temporary table in arch temp dir
|
||||
wchar_t temp_table[MAX_PATH+12] = {0};
|
||||
wchar_t temp_index[MAX_PATH+12] = {0};
|
||||
wchar_t old_table[MAX_PATH+12] = {0};
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define __NDE_VFS_H
|
||||
|
||||
#include <bfc/platform/types.h>
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
|
||||
//#define NDE_ALLOW_NONCACHED
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ NDE_API __int64 NDE_Int64Field_GetValue(nde_field_t field);
|
|||
NDE_API nde_field_t NDE_Int64Field_Create(__int64 value);
|
||||
|
||||
/* BinaryField functions */
|
||||
// on windows, the data pointer is optionally reference counted via ndestring (ndestring_retain if you plan on keeping it)
|
||||
// on arch, the data pointer is optionally reference counted via ndestring (ndestring_retain if you plan on keeping it)
|
||||
NDE_API void *NDE_BinaryField_GetData(nde_field_t field, size_t *length);
|
||||
NDE_API void NDE_BinaryField_SetData(nde_field_t field, const void *data, size_t length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue