diff options
Diffstat (limited to 'lib/efl/edje.rb')
-rw-r--r-- | lib/efl/edje.rb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/efl/edje.rb b/lib/efl/edje.rb deleted file mode 100644 index 8977b09..0000000 --- a/lib/efl/edje.rb +++ /dev/null @@ -1,31 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# -require 'ffi' -# -module EFL - module EDJE - # - extend FFI::Library - # - ffi_lib 'edje' - [ - [ :edje_init, [], :int], - [ :edje_shutdown, [], :int], - ].each do |func| - begin - attach_function *func - rescue Object => e - puts "Could not attach #{func} #{e.message}" - end - end - # - class << self - alias init edje_init - alias shutdown edje_shutdown - end - # - end -end -# -# EOF |