summaryrefslogtreecommitdiffstats
path: root/lib/efl/ecore.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/ecore.rb')
-rw-r--r--lib/efl/ecore.rb14
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/efl/ecore.rb b/lib/efl/ecore.rb
index a3c2310..95f1d49 100644
--- a/lib/efl/ecore.rb
+++ b/lib/efl/ecore.rb
@@ -6,11 +6,6 @@ require 'ffi'
module EFL
module ECORE
#
- MAJOR = 0
- MINOR = 0
- REVISION = 1
- VERSION = [MAJOR,MINOR,REVISION].join '.'
- #
extend FFI::Library
#
ffi_lib 'ecore'
@@ -25,12 +20,9 @@ module EFL
end
end
#
- def self.init
- ecore_init
- end
- #
- def self.shutdown
- ecore_shutdown
+ class << self
+ alias init ecore_init
+ alias shutdown ecore_shutdown
end
#
end