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