Unifex
▼
Project version
v1.2.1
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Pages
Modules
Mix
Tasks
API Reference
Modules
Mix Tasks
Unifex
Installation
Usage
Supported types
See also
Copyright and License
LICENSE
Creating Unifex Natives
Introduction
Preparation
Native code
Running code
More examples
Creating Unifex NIF
Supported types
Supported types
Unifex
Unifex.CNode
Summary
Types
on_start_t/0
t/0
Functions
call/4
monitor/1
start/1
start/2
start_link/1
start_link/2
stop/1
Unifex.CodeGenerator
Summary
Types
code_t/0
generated_code_t/0
t/0
Callbacks
generate_header/1
generate_source/1
identification_constant/0
interface_io_name/0
Functions
bundlex_interface/1
generate_code/1
interface_generator/1
Unifex.CodeGenerator.BaseType
Summary
Types
arg_parse_ctx_t/0
t/0
Callbacks
generate_arg_parse/3
generate_arg_serialize/2
generate_destruction/2
generate_initialization/2
generate_native_type/1
ptr_level/1
Functions
generate_arg_name/4
generate_arg_parse/6
generate_arg_serialize/4
generate_declaration/5
generate_destruction/4
generate_initialization/4
generate_native_type/4
ptr_level/3
Unifex.CodeGenerator.Utils
Summary
Functions
generate_enums_definitions/3
generate_functions/3
generate_functions_declarations/3
generate_maybe_unused_args_statements/1
generate_serialization/2
generate_structs_definitions/3
sanitize_var_name/1
sigil_g/2
Unifex.Loader
Unifex.Specs
Summary
Types
enum_t/0
interface_t/0
native_name_t/0
struct_t/0
t/0
Functions
parse/2
Unifex.Specs.DSL
Summary
Functions
@/1
callback/2
dirty/2
interface/1
module/1
sends/1
spec/1
state_type/1
type/1
CodeGenerators
Unifex.CodeGenerators
.CNode
.NIF
BaseTypes
Unifex.CodeGenerator.BaseTypes
.Atom
.Bool
.Default
.Enum
.Float
.Int
.Int64
.List
.Payload
.Pid
.State
.String
.Struct
.Uint64
.Unsigned
mix compile.unifex
Search documentation of Unifex
Settings
View Source
Unifex.CodeGenerators.NIF
(Unifex v1.2.1)
Generates NIF boilerplate based on
Unifex.Specs
.
×