diff options
Diffstat (limited to 'lib/efl/eina.rb')
-rw-r--r-- | lib/efl/eina.rb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/efl/eina.rb b/lib/efl/eina.rb deleted file mode 100644 index 849a0a0..0000000 --- a/lib/efl/eina.rb +++ /dev/null @@ -1,31 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# -require 'ffi' -# -module EFL - module EINA - # - extend FFI::Library - # - ffi_lib 'eina' - [ - [ :eina_init, [], :int], - [ :eina_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 eina_init - alias shutdown eina_shutdown - end - # - end -end -# -# EOF |