package quickjs
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Bindings for QuickJS (a Javascript Engine to be embedded https://bellard.org/quickjs)
Install
dune-project
Dependency
Authors
Maintainers
Sources
quickjs-0.5.1.tbz
sha256=42397865f43779613b04bb2f3532b060c6dcca2d41aa1337b31124fca21629a4
sha512=52bf83c9e3a9e37764b514e34e1acbcdabef9ccac9cefa510e4683b693328ddde42ff59e8475e19c9f1a90caee8b790f2438f5808a11eca7700412b55f41a30e
doc/quickjs.c/Quickjs_c/Atod/index.html
Module Quickjs_c.AtodSource
Low-level bindings to QuickJS's atod - ASCII to Double conversion
JavaScript-compatible floating point parsing (atod = Ascii TO Double). These are raw C bindings; for a higher-level API, use Quickjs.Global.
Source
val parse :
string ->
int Ctypes_static.ptr ->
int ->
int ->
unit Ctypes_static.ptr ->
float
Quickjs_bindings.Libregexp__c_generated_functions__Function_description__Functions.returnParse string to double with JS semantics. Flags: JS_ATOD_INT_ONLY | JS_ATOD_ACCEPT_BIN_OCT | etc. Sets *poffset to the number of bytes consumed (0 when parsing failed). Returns NaN when nothing could be parsed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>