View Source Kinda.Wrapper.CType (kinda v0.11.0)

Normalized C type fact extracted from a wrapper surface.

Summary

Types

kind()

@type kind() ::
  :void
  | :bool
  | :integer
  | :float
  | :pointer
  | :function_pointer
  | :record
  | :enum
  | :unknown

t()

@type t() :: %Kinda.Wrapper.CType{kind: kind(), spelling: String.t() | nil}

Functions

from_clang_type(type_node)

@spec from_clang_type(map() | String.t() | nil) :: t() | nil

from_function_decl(node)

@spec from_function_decl(map()) :: t() | nil

from_manifest(arg1)

@spec from_manifest(map() | nil) :: t() | nil

to_manifest(arg1)

@spec to_manifest(t() | nil) :: map() | nil

to_public_typespec_ref(arg1)

@spec to_public_typespec_ref(t() | nil) :: Kinda.CodeGen.TypeSpecRef.t()