require "win32api" module Rinderon class Window def initialize(name, width, height) Win32API.new(File.expand_path('../../../ext/rinderon/rinderon.so', __FILE__), 'RinderonCreateWindow', %w(p i i), 'i').call(name, width, height) end end end