diff options
-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 = {} |