summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy.zurcher@heraeus.com>2011-04-20 09:47:47 +0200
committerJérémy Zurcher <jeremy.zurcher@heraeus.com>2011-04-20 09:47:47 +0200
commit1cc2c83a0241ff8d36811d40062ba26ae8e28485 (patch)
treec88feb9f3d012b8a9e9d7f286ea2bd8ae02233a3 /lib
parent0e9018d11822ba3afeea664dc9326de0d272602b (diff)
downloadffi-efl-1cc2c83a0241ff8d36811d40062ba26ae8e28485.zip
ffi-efl-1cc2c83a0241ff8d36811d40062ba26ae8e28485.tar.gz
set edje lib and specs, remove eina lib and specs
Diffstat (limited to 'lib')
-rw-r--r--lib/e17/edje.rb20
-rw-r--r--lib/e17/eina.rb26
2 files changed, 2 insertions, 44 deletions
diff --git a/lib/e17/edje.rb b/lib/e17/edje.rb
index 1e5ff87..c86b431 100644
--- a/lib/e17/edje.rb
+++ b/lib/e17/edje.rb
@@ -1,26 +1,10 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'e17/ffi_helper'
+require 'e17/edje/edje-ffi'
#
module E17
- module EDJE
- #
- extend FFIHelper
- extend FFI::Library
- #
- ffi_lib 'edje'
- #
- fcts = [
- # TODO
- # http://docs.enlightenment.org/auto/edje/Edje_8h.html
- [ :edje_init, [], :int],
- [ :edje_shutdown, [], :int],
- ]
- #
- attach_fcts fcts
- #
- create_aliases 'edje_'.length, fcts
+ module Edje
#
end
end
diff --git a/lib/e17/eina.rb b/lib/e17/eina.rb
deleted file mode 100644
index 9309cfe..0000000
--- a/lib/e17/eina.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /usr/bin/env ruby
-# -*- coding: UTF-8 -*-
-#
-require 'e17/ffi_helper'
-#
-module E17
- module EINA
- #
- extend FFIHelper
- extend FFI::Library
- #
- ffi_lib 'eina'
- #
- fcts = [
- [ :eina_init, [], :int],
- [ :eina_shutdown, [], :int],
- ]
- #
- attach_fcts fcts
- #
- create_aliases 'eina_'.length, fcts
- #
- end
-end
-#
-# EOF