Beaver.MLIR.StringRef (beaver v0.2.2)

StringRef is very common in LLVM projects. It is a wrapper of a C string. This function will 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 section Summary

Link to this section Functions

Link to this function

extract(string_ref)