Class: Babeltrace::CTF::Internal::FieldDecl

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/babeltrace/ctf/events.rb

Instance Method Summary collapse

Instance Method Details

#get_declObject Also known as: decl



75
76
77
78
# File 'lib/babeltrace/ctf/events.rb', line 75

def get_decl
  decl = CTF.bt_ctf_get_decl_from_field_decl(self)
  CTF::Declaration::create(decl)
end

#get_nameObject Also known as: name



81
82
83
# File 'lib/babeltrace/ctf/events.rb', line 81

def get_name
  CTF.bt_ctf_get_decl_field_name(self)
end