package opam-core
Install
dune-project
Dependency
Authors
-
David Allsopp
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
KKate Deplaix <kit-ty-kate@outlook.com>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
AAnil Madhavapeddy <anil@recoil.org>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
RRalf Treinen <ralf.treinen@pps.jussieu.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
Maintainers
Sources
md5=f509aa3ca69423d6f4fc8c703f78a566
sha512=4a52fa74e2a3b975623f6eac169042d1ca9e18ec77693a8f24d0eb59c97737b3bb8e659d609e283c293ce6eef4395a9eda20b317d30a88dfa8b88171694b1660
doc/opam-core/OpamStubsTypes/index.html
Module OpamStubsTypesSource
Types for C stubs modules and common C stubs.
type console_screen_buffer_info = {size : int * int;(*Width and height of the screen buffer
*)cursorPosition : int * int;(*Current position of the console cursor (caret)
*)attributes : int;(*Screen attributes; see https://docs.microsoft.com/en-us/windows/console/console-screen-buffers#_win32_character_attributes
*)window : int * int * int * int;(*Coordinates of the upper-left and lower-right corners of the display window within the screen buffer
*)maximumWindowSize : int * int;(*Maximum displayable size of the console for this screen buffer
*)
}CONSOLE_SCREEN_BUFFER_INFO struct (see https://docs.microsoft.com/en-us/windows/console/console-screen-buffer-info-str)
type console_font_infoex = {font : int;(*Index in the system's console font table
*)fontSize : int * int;(*Size, in logical units, of the font
*)fontFamily : int;(*Font pitch and family (low 8 bits only). See tmPitchAndFamily in https://msdn.microsoft.com/library/windows/desktop/dd145132
*)fontWeight : int;(*Font weight. Normal = 400; Bold = 700
*)faceName : string;(*Name of the typeface
*)
}CONSOLE_FONT_INFOEX struct (see https://docs.microsoft.com/en-us/windows/console/console-font-infoex)
Win32 API handles
Standard handle constants (see https://docs.microsoft.com/en-us/windows/console/getstdhandle)
Win32 Root Registry Hives (see https://msdn.microsoft.com/en-us/library/windows/desktop/ms724836.aspx)
Win32 Registry Value Types (see https://msdn.microsoft.com/en-us/library/windows/desktop/ms724884.aspx
type ('a, 'b, 'c) winmessage = | WM_SETTINGCHANGE : (int, string, int) winmessage(*See https://msdn.microsoft.com/en-us/library/windows/desktop/ms725497.aspx
*)
Windows Messages (at least, one of them!)
Windows CPU Architectures (SYSTEM_INFO.wProcessArchitecture / sysinfoapi.h)
type win32_non_fixed_version_info = {comments : string option;companyName : string option;fileDescription : string option;fileVersionString : string option;internalName : string option;legalCopyright : string option;legalTrademarks : string option;originalFilename : string option;productName : string option;productVersionString : string option;privateBuild : string option;specialBuild : string option;
}Predefined version information strings (see VerQueryValueW)
type win32_version_info = {signature : int;(*
*)0xFEEF04BDversion : int * int;(*Structure version number
*)fileVersion : int * int * int * int;(*File version
*)productVersion : int * int * int * int;(*Product version
*)fileFlagsMask : int;fileFlags : int;(*File attributes (see VS_FIXEDFILEINFO)
*)fileOS : int;(*File OS (see VS_FIXEDFILEINFO)
*)fileType : int;(*File Type (see VS_FIXEDFILEINFO)
*)fileSubtype : int;(*File Sub-type (see VS_FIXEDFILEINFO)
*)fileDate : int64;(*File creation time stamp
*)strings : ((int * int) * win32_non_fixed_version_info) list;(*Non-fixed string table. First field is a pair of Language and Codepage ID.
*)
}VS_FIXEDFILEINFO
faccessat on Unix; _waccess on Windows. Checks whether a path is executable for the current process. On Unix, unlike Unix.access, this is checked using the EUID/EGID rather than RUID/RGID.