Class: FFI::ManagedBitStruct
- Inherits:
-
ManagedStruct
- Object
- ManagedStruct
- FFI::ManagedBitStruct
- Extended by:
- BitField::Layout
- Includes:
- BitField::Property
- Defined in:
- lib/ffi/managed_bit_struct.rb
Overview
Subclass of FFI::ManagedStruct that supports bit fields. Combines memory management with bit field functionality.
Use this class when you need automatic memory management for your structs with bit fields. You must implement the self.release method to handle memory cleanup.