Returns the major version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 1.)
This function is in the library, so it represents the JavaScriptCore
library your code is running against. Contrast with the
JSC_MAJOR_VERSION macro, which represents the major version of
the JavaScriptCore headers you have included when compiling your code.
Returned: an unsigned 32-bit integer.
the major version number of the JavaScriptCore library
Returns the micro version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 3.)
This function is in the library, so it represents the JavaScriptCore
library your code is running against. Contrast with the
JSC_MICRO_VERSION macro, which represents the micro version of
the JavaScriptCore headers you have included when compiling your code.
Returned: an unsigned 32-bit integer.
the micro version number of the JavaScriptCore library
Returns the minor version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 8.)
This function is in the library, so it represents the JavaScriptCore
library your code is running against. Contrast with the
JSC_MINOR_VERSION macro, which represents the minor version of
the JavaScriptCore headers you have included when compiling your code.
Returned: an unsigned 32-bit integer.
the minor version number of the JavaScriptCore library
Iterates all available options calling function for each one.
Iteration can stop early if function returns #f.
Passed: a procedure.
a JSCOptionsFunc callback
See JSCOptionsFunc for how it is called.
Not passed: guile-gi supplies it.
callback user data
Get option as a gboolean value.
Passed: a string.
the option identifier
Returned: a boolean.
#t if value has been set or #f if the option doesn’t
exist
Returned: a boolean.
return location for the option value
Get option as a gdouble value.
Passed: a string.
the option identifier
Returned: a boolean.
#t if value has been set or #f if the option doesn’t
exist
Returned: a real number.
return location for the option value
Get option as a gint value.
Passed: a string.
the option identifier
Returned: a boolean.
#t if value has been set or #f if the option doesn’t
exist
Returned: a 32-bit integer.
return location for the option value
Create a <GOptionGroup> to handle
JSCOptions as command line arguments. The options will be exposed as
command line arguments with the form
–jsc-<option>=<value>. Each entry in the returned
<GOptionGroup> is configured to apply the
corresponding option during command line parsing. Applications only
need to pass the returned group to g_option_context_add_group(),
and the rest will be taken care for automatically.
Returned: a <GOptionGroup>.
a <GOptionGroup> for the JSCOptions
Get option as a range string. The string must be in the format
[!]<low>[:<high>] where low and high are guint
values. Values between low and high (both included) will be considered
in the range, unless ! is used to invert the range.
Passed: a string.
the option identifier
Returned: a boolean.
#t if value has been set or #f if the option doesn’t
exist
Returned: a string.
return location for the option value
Get option as a gsize value.
Passed: a string.
the option identifier
Returned: a boolean.
#t if value has been set or #f if the option doesn’t
exist
Returned: an unsigned 64-bit integer.
return location for the option value
Get option as a string.
Passed: a string.
the option identifier
Returned: a boolean.
#t if value has been set or #f if the option doesn’t
exist
Returned: a string.
return location for the option value
Get option as a guint value.
Passed: a string.
the option identifier
Returned: a boolean.
#t if value has been set or #f if the option doesn’t
exist
Returned: an unsigned 32-bit integer.
return location for the option value
Set option as a gboolean value.
Passed: a string.
the option identifier
Passed: a boolean.
the value to set
Returned: a boolean.
#t if option was correctly set or #f otherwise.
Set option as a gdouble value.
Passed: a string.
the option identifier
Passed: a real number.
the value to set
Returned: a boolean.
#t if option was correctly set or #f otherwise.
Set option as a gint value.
Passed: a string.
the option identifier
Passed: a 32-bit integer.
the value to set
Returned: a boolean.
#t if option was correctly set or #f otherwise.
Set option as a range string. The string must be in the format
[!]<low>[:<high>] where low and high are guint
values. Values between low and high (both included) will be considered
in the range, unless ! is used to invert the range.
Passed: a string.
the option identifier
Passed: a string.
the value to set
Returned: a boolean.
#t if option was correctly set or #f otherwise.
Set option as a gsize value.
Passed: a string.
the option identifier
Passed: an unsigned 64-bit integer.
the value to set
Returned: a boolean.
#t if option was correctly set or #f otherwise.
Set option as a string.
Passed: a string.
the option identifier
Passed: a string.
the value to set
Returned: a boolean.
#t if option was correctly set or #f otherwise.
Set option as a guint value.
Passed: a string.
the option identifier
Passed: an unsigned 32-bit integer.
the value to set
Returned: a boolean.
#t if option was correctly set or #f otherwise.