1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

make compiler

This commit is contained in:
Alexander Medvednikov
2019-07-02 21:45:51 +02:00
parent a9b8bc067f
commit 1bbf3a3a0c
2 changed files with 3 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ module os
// Ref - https://docs.microsoft.com/en-us/windows/desktop/winprog/windows-data-types
// A handle to an object.
/*
type HANDLE voidptr // C.HANDLE
pub fn get_file_handle(path string) HANDLE {
@@ -13,3 +14,4 @@ pub fn get_file_handle(path string) HANDLE {
_handle := C._get_osfhandle(C._fileno(_fh)) // CreateFile? - hah, no -_-
return _handle
}
*/