Debian Codegraph @

vendor/opam/src/core/opamStubs.ml

raw
1 (**************************************************************************)
2 (* *)
3 (* Copyright 2018 MetaStack Solutions Ltd. *)
4 (* *)
5 (* All rights reserved. This file is distributed under the terms of the *)
6 (* GNU Lesser General Public License version 2.1, with the special *)
7 (* exception on linking described in the file LICENSE. *)
8 (* *)
9 (**************************************************************************)
10
11 include OpamStubsTypes
12
13 let that's_a_no_no _ = failwith "Windows only. This function isn't implemented."
14
15 let getCurrentProcessID = that's_a_no_no
16 let getpid = Unix.getpid
17 let getStdHandle = that's_a_no_no
18 let getConsoleScreenBufferInfo = that's_a_no_no
19 let setConsoleTextAttribute _ = that's_a_no_no
20 let fillConsoleOutputCharacter _ _ _ = that's_a_no_no
21 let getConsoleMode = that's_a_no_no
22 let setConsoleMode _ = that's_a_no_no
23 external getWindowsVersion : unit -> int * int * int * int = "OPAMW_GetWindowsVersion"
24 external getArchitecture : unit -> 'a = "OPAMW_GetArchitecture"
25 let waitpids _ = that's_a_no_no
26 let writeRegistry _ _ _ = that's_a_no_no
27 let getConsoleOutputCP = that's_a_no_no
28 let getCurrentConsoleFontEx _ = that's_a_no_no
29 let create_glyph_checker = that's_a_no_no
30 let delete_glyph_checker = that's_a_no_no
31 let has_glyph _ = that's_a_no_no
32 let getProcessArchitecture = that's_a_no_no
33 let process_putenv _ = that's_a_no_no
34 let shGetFolderPath _ = that's_a_no_no
35 let sendMessageTimeout _ _ _ _ _ = that's_a_no_no
36 let getProcessAncestry = that's_a_no_no
37 let getConsoleAlias _ = that's_a_no_no
38 let win_create_process _ _ _ _ _ = that's_a_no_no
39 let getConsoleWindowClass = that's_a_no_no