Sha256: e8846fc230688605d7b0639a262a58394751f48a848832d866e05e925dbc6fa0
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
require 'evoasm/domain' module Evoasm # Base class for all parameters. class Parameter < FFI::Pointer # @return [Integer] a numeric identifier for this parameter def id Libevoasm.param_get_id self end # @return [Domain] the domain associated with this parameter def domain domain = Domain.wrap Libevoasm.param_get_domain(self) domain.autorelease = false domain end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
evoasm-0.1.0.pre2 | lib/evoasm/parameter.rb |