Class: Evoasm::Parameter
- Inherits:
-
FFI::Pointer
- Object
- FFI::Pointer
- Evoasm::Parameter
- Defined in:
- lib/evoasm/parameter.rb
Overview
Base class for all parameters.
Direct Known Subclasses
Instance Method Summary collapse
-
#domain ⇒ Domain
The domain associated with this parameter.
-
#id ⇒ Integer
A numeric identifier for this parameter.
Methods inherited from FFI::Pointer
Instance Method Details
#domain ⇒ Domain
Returns the domain associated with this parameter
13 14 15 16 17 18 |
# File 'lib/evoasm/parameter.rb', line 13 def domain domain = Domain.wrap Libevoasm.param_get_domain(self) domain.autorelease = false domain end |
#id ⇒ Integer
Returns a numeric identifier for this parameter
8 9 10 |
# File 'lib/evoasm/parameter.rb', line 8 def id Libevoasm.param_get_id self end |