package dune
Fast, portable and opinionated build system
Install
Dune Dependency
Authors
Maintainers
Sources
dune-build-info-1.11.4.tbz
sha256=77cb5f483221b266ded2b85fc84173ae0089a25134a086be922e82c131456ce6
sha512=02f00fd872aa49b832fc8c1e928409f23c79ddf84a53009a58875f222cca36fbb92c905e12c539caec9cbad723f195a8aa24218382dca35a903b3f52b11f06f2
doc/dune.configurator/Configurator/V1/C_define/index.html
Module V1.C_define
module Type : sig ... end
module Value : sig ... end
val import :
t ->
?prelude:string ->
?c_flags:string list ->
includes:string list ->
(string * Type.t) list ->
(string * Value.t) list
Import some #define from the given header files. For instance:
# C.C_define.import c ~includes:"caml/config.h"
["ARCH_SIXTYFOUR", Switch];;
- (string * Configurator.C_define.Value.t) list =
["ARCH_SIXTYFOUR", Switch true]
val gen_header_file :
t ->
fname:string ->
?protection_var:string ->
(string * Value.t) list ->
unit
Generate a C header file containing the following #define. protection_var
is used to enclose the file with:
#ifndef BLAH
#define BLAH
...
#endif
If not specified, it is inferred from the name given to create
and the filename.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>