summaryrefslogtreecommitdiffstats
path: root/lib/efl/edje.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-12 21:23:29 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-12 21:23:29 +0200
commit3a2eecb5bcf35120fcf3a9dcf1637459c99a6abe (patch)
tree591d46a4a6f0bcfbc200e9c4a92508ee26974eb8 /lib/efl/edje.rb
parent131839bfb26fadebc32ce86c10784e2ca2647bbc (diff)
downloadffi-efl-3a2eecb5bcf35120fcf3a9dcf1637459c99a6abe.zip
ffi-efl-3a2eecb5bcf35120fcf3a9dcf1637459c99a6abe.tar.gz
rename to ffi-e17
Diffstat (limited to 'lib/efl/edje.rb')
-rw-r--r--lib/efl/edje.rb31
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