class LibNetPGP::PGPPubKey

Public Class Methods

release(ptr) click to toggle source

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.

# File lib/netpgp/lowlevel/structs.rb, line 66
def self.release(ptr)
  LibNetPGP::pgp_pubkey_free(ptr)
  LibC::free(ptr)
end