summaryrefslogtreecommitdiffstats
path: root/lib/efl/eina_rectangle.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-06 15:55:12 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-06 15:55:12 +0200
commita999e64c9ee30556b3de5d60d661a7c88fecfce5 (patch)
tree7e5be221a779101888357f591f78c4c704e47bcd /lib/efl/eina_rectangle.rb
parente5cb60a66aa0a18dc9dbd8cffc7e0cd00d254a46 (diff)
downloadffi-efl-a999e64c9ee30556b3de5d60d661a7c88fecfce5.zip
ffi-efl-a999e64c9ee30556b3de5d60d661a7c88fecfce5.tar.gz
add Native::EinaRectangleStruct
Diffstat (limited to 'lib/efl/eina_rectangle.rb')
-rw-r--r--lib/efl/eina_rectangle.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/efl/eina_rectangle.rb b/lib/efl/eina_rectangle.rb
new file mode 100644
index 0000000..c8ba256
--- /dev/null
+++ b/lib/efl/eina_rectangle.rb
@@ -0,0 +1,18 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+module Efl
+ #
+ module Native
+ #
+ class EinaRectangleStruct < FFI::Struct
+ layout :x, :int,
+ :y, :int,
+ :w, :int,
+ :h, :int
+ end
+ end
+ #
+end
+#
+# EOF