OpenGLBindingGenerator::Crystal::Proc
Inherits OpenGLBindingGenerator::Crystal::Type < OpenGLBindingGenerator::Crystalize < OpenGLBindingGenerator::Crystal::LibDefinition < Reference < Object
Constructors
new(function : Function)
SourceInstance methods
size
The size of the type in bytes. This method shouldn't be called. It is expected to return an integer, but it can't be known the size a pointer will be on the target system.
to_s(__io__ : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Macros
method_missing(call)
Source