summaryrefslogtreecommitdiffstats
path: root/lib/efl/ecore.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-11 10:07:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-11 10:07:14 +0200
commit533f8327d0a3f1eae95aedadd48d0f1640766f28 (patch)
tree985b29d9f744d14c8c2ab930fb15d7099c02c181 /lib/efl/ecore.rb
parent0c30e8a8efcc32de3216a8f49b84793e51ff31cc (diff)
downloadffi-efl-533f8327d0a3f1eae95aedadd48d0f1640766f28.zip
ffi-efl-533f8327d0a3f1eae95aedadd48d0f1640766f28.tar.gz
add missing sed-variables, fix EinaLog module generation, add self.version for all modules and use them in spec describe
Diffstat (limited to 'lib/efl/ecore.rb')
-rw-r--r--lib/efl/ecore.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efl/ecore.rb b/lib/efl/ecore.rb
index 0d1e2fd..5216763 100644
--- a/lib/efl/ecore.rb
+++ b/lib/efl/ecore.rb
@@ -15,6 +15,10 @@ module Efl
EVENT_SIGNAL_REALTIME = 5 # Realtime signal event
EVENT_COUNT = 6
#
+ def self.version
+ Native::VersionStruct.new(Native.ecore_version)
+ end
+ #
class REcorePipe
def initialize cb, data
@ptr = FFI::AutoPointer.new Native.ecore_pipe_add(cb, data), REcorePipe.method(:release)