Beaver.MLIR.StringRef (beaver v0.2.19)
This module defines functions working with MLIR StringRef.
Link to this section Summary
Functions
Create a Elixir owned C string from a Elixir bitstring and create a StringRef from it. StringRef will keep a reference to the C string to prevent it from being garbage collected by BEAM.
Converts an StringRef
to a string.
Link to this section Types
Link to this section Functions
Link to this function
create(value)
Create a Elixir owned C string from a Elixir bitstring and create a StringRef from it. StringRef will keep a reference to the C string to prevent it from being garbage collected by BEAM.
Link to this function
make(value)
Link to this function
to_string(string_ref)
Converts an StringRef
to a string.