blob: 07a072e0216073cc843adc9caddbd50bde2795fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
module Fiddle
class Function
# The ABI of the Function.
attr_reader :abi
# The address of this function
attr_reader :ptr
# The integer memory location of this function
def to_i
ptr.to_i
end
end
end
|