Class: FFIGen::Clang::String
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- FFIGen::Clang::String
- Defined in:
- lib/ffi_gen/clang.rb,
lib/ffi_gen.rb
Overview
(Not documented)
Fields:
- :data
-
(FFI::Pointer(*Void))
- :private_flags
-
(Integer)
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
36 37 38 |
# File 'lib/ffi_gen.rb', line 36 def to_s Clang.get_c_string self end |
#to_s_and_dispose ⇒ Object
40 41 42 43 44 |
# File 'lib/ffi_gen.rb', line 40 def to_s_and_dispose str = to_s Clang.dispose_string self str end |