diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 00:15:30 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 00:15:30 +0200 |
commit | cd86f9d647525824c89552641228ca22b85c7a39 (patch) | |
tree | fa51c78777358ea5c4186342a111dbf9c5349fef /lib/efl | |
parent | 07546f6f76d84f9512a7e52344ff79616caa273f (diff) | |
download | ffi-efl-cd86f9d647525824c89552641228ca22b85c7a39.zip ffi-efl-cd86f9d647525824c89552641228ca22b85c7a39.tar.gz |
ffi.rb nicely handle (.*)\? functions
Diffstat (limited to 'lib/efl')
-rw-r--r-- | lib/efl/ffi.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/efl/ffi.rb b/lib/efl/ffi.rb index 0325848..9687d99 100644 --- a/lib/efl/ffi.rb +++ b/lib/efl/ffi.rb @@ -53,6 +53,9 @@ module Efl if m =~/^(.*)=$/ m_s = $1+'_set' args_s = '*args[0]' + elsif m =~/^(.*)\?$/ + m_s = $1+'_get' + args_s = '*args' else m_s = m.to_s args_s = '*args' |