Sha256: 7a2f0a079f57e544b9391e7ae1085b463a4d02543b840e1f26850802c0eb7f95
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 Bytes
Contents
module FFI module Clang module Types class Elaborated < Type def canonical Type.create Lib.get_canonical_type(@type), @translation_unit end # Example anonymous union where `u` is an elaborated type # # typedef struct { # union { # int idata; # } u; # } SomeStruct; def anonymous? self.declaration.anonymous? end def pointer? self.canonical.is_a?(Pointer) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffi-clang-0.12.0 | lib/ffi/clang/types/elaborated.rb |
ffi-clang-0.11.0 | lib/ffi/clang/types/elaborated.rb |
ffi-clang-0.10.0 | lib/ffi/clang/types/elaborated.rb |