class Blender3d::FunctionPointerType

Attributes

return_type[R]

Public Class Methods

new(return_type) click to toggle source
# File lib/blender-3d/types/function_pointer_type.rb, line 5
def initialize(return_type)
  @return_type = return_type
end

Public Instance Methods

inspect() click to toggle source
# File lib/blender-3d/types/function_pointer_type.rb, line 13
def inspect
  "#{@return_type.inspect} (*)()"
end
read(reader) click to toggle source
# File lib/blender-3d/types/function_pointer_type.rb, line 17
def read(reader)
  Pointer.new(reader.read_pointer)
end
to_s() click to toggle source
# File lib/blender-3d/types/function_pointer_type.rb, line 9
def to_s
  "Function(#@return_type)"
end