diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-22 17:59:51 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-22 17:59:51 +0100 |
commit | bb84047c45fda4c5ac9b92e4feff16054e603e87 (patch) | |
tree | e86e8aaa927569d5b6331346248758efc1520df4 | |
parent | 7282cc40ff17f2f84314ce1b9c55ab45093dd100 (diff) | |
download | ffi-efl-bb84047c45fda4c5ac9b92e4feff16054e603e87.zip ffi-efl-bb84047c45fda4c5ac9b92e4feff16054e603e87.tar.gz |
tools/genruby:Eina_Bool=>:eina_bool, lib/efl/native typedef :bool, :eina_bool
-rw-r--r-- | lib/efl/native.rb | 2 | ||||
-rwxr-xr-x | tools/genruby.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/efl/native.rb b/lib/efl/native.rb index 3b3dcce..24b336c 100644 --- a/lib/efl/native.rb +++ b/lib/efl/native.rb @@ -9,6 +9,8 @@ module Efl # extend FFI::Library # + typedef :bool, :eina_bool + # def self.attach_fcts fcts fcts.each do |func| begin diff --git a/tools/genruby.rb b/tools/genruby.rb index dc44779..dbc51c5 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -85,7 +85,7 @@ TYPES = { 'struct tm *' => ':pointer', 'struct timeval *' => ':pointer', 'struct sockaddr *' => ':pointer', - 'Eina_Bool' => ':bool' + 'Eina_Bool' => ':eina_bool' } # TYPES_USAGE = {} |