MaeBPFC.InlineC (maebpf_c v0.1.0)

Copy Markdown View Source

Compile-time representation of an inline C eBPF snippet created by ~BPFC"""...""" (MaeBPFC.Sigils.sigil_BPFC/2).

Carries the original Elixir :file and :line so MaeBPFC.Codegen emits accurate #line directives and clang errors point directly to the Elixir source line.

Summary

Types

t()

@type t() :: %MaeBPFC.InlineC{
  code: String.t(),
  file: String.t() | nil,
  line: non_neg_integer() | nil,
  modifiers: charlist()
}