Class: Clang::TranslationUnitImplStruct
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Clang::TranslationUnitImplStruct
- Defined in:
- lib/rbind/clang/clang_types.rb
Overview
A single translation unit, which resides in an index.
Class Method Summary collapse
-
.release(pointer) ⇒ Object
do not call this for each instance ! class Clang is taking care of this.
Class Method Details
.release(pointer) ⇒ Object
do not call this for each instance ! class Clang is taking care of this
42 43 44 45 46 |
# File 'lib/rbind/clang/clang_types.rb', line 42 def self.release(pointer) Rbind::dispose_translation_unit(pointer) unless pointer.null? rescue => e puts e end |