Module jlrs::value [−][src]
Julia values and functions.
Julia data returned by the C API is normally returned as a pointer to a jl_value_t
, in jlrs
this pointer is wrapped by a Value
. Much functionality offered by the C API is available
through the methods and traits implemented for Value
, including creating new Julia values,
accessing their type information and fields, checking if certain properties hold, and
converting the value to another type.
One special kind of value is the NamedTuple
. You will need to create values of this type in
order to call functions with keyword arguments. The macro named_tuple
is defined in this
module which provides an easy way to create values of this type.
Julia has several builtin types, like Array
, Module
, and Symbol
. These builtin types are
defined in the submodules of this module.
Modules
array | Support for n-dimensional arrays and their dimensions. |
code_instance | Support for values with the |
datatype | Datatypes and properties. |
expr | Support for values with the |
method | Support for values with the |
method_instance | Support for values with the |
method_table | Support for values with the |
module | Access Julia modules and the globals and functions defined in them. |
simple_vector | Support for values with the |
string | Support for accessing raw Julia strings. |
symbol | Symbols represent identifiers like module and function names. |
task | Support for values with the |
traits | Traits to call functions and derivable traits. |
tuple | Generic |
type_name | Support for values with the |
type_var | Support for values with the |
typemap_entry | Support for values with the |
typemap_level | Support for values with the |
union | Support for Julia |
union_all | Support for values with the |
weak_ref | Support for values with the |
Structs
LeakedValue | While jlrs generally enforces that Julia data can only exist and be used while a frame is
active, it’s possible to leak global values: |
UnrootedValue | A |
Value | A |
WithKeywords | A function with keyword arguments. It can be called with the methods of the |
Enums
UnrootedResult | A |
Constants
MAX_SIZE | In some cases it’s necessary to place one or more arguments in front of the arguments a
function is called with. Examples include the |