mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
12 lines
548 B
C
Executable file
12 lines
548 B
C
Executable file
#pragma once
|
|
|
|
#include <stdio.h>
|
|
#include "u16.h"
|
|
|
|
// Opens files on windows and non-windows platforms. Datatypes for Filename and mode must be the same.
|
|
// returns FILE* if file could be opened; FILE needs to be closed in calling function
|
|
FILE* Open_File(const KMX_CHAR* Filename, const KMX_CHAR* mode);
|
|
FILE* Open_File(const KMX_WCHART* Filename, const KMX_WCHART* mode);
|
|
FILE* Open_File(const KMX_WCHAR* Filename, const KMX_WCHAR* mode);
|
|
KMX_BOOL kmcmp_FileExists(const KMX_CHAR *filename);
|
|
KMX_BOOL kmcmp_FileExists(const KMX_WCHAR *filename);
|