Class: LibNetPGP::PGPPubKey
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- LibNetPGP::PGPPubKey
- Defined in:
- lib/netpgp/lowlevel/structs.rb
Class Method Summary collapse
-
.release(ptr) ⇒ Object
Note: This is not a ManagedStruct because this struct is a non-pointer member in other structs and that will cause issues.
Class Method Details
.release(ptr) ⇒ Object
Note: This is not a ManagedStruct because this struct is a non-pointer member in other structs and that will cause issues. Use FFI::AutoPointer.
66 67 68 69 |
# File 'lib/netpgp/lowlevel/structs.rb', line 66 def self.release(ptr) LibNetPGP::pgp_pubkey_free(ptr) LibC::free(ptr) end |