summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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