pointerof class Point def initialize(@x : Int32, @y : Int32) end def x def x_ptr pointerof(@x) endptr = point.x_ptrptr.value = 10point.x # => 10