diff options
Diffstat (limited to 'lib/efl')
-rw-r--r-- | lib/efl/edje.rb | 6 | ||||
-rw-r--r-- | lib/efl/eet.rb | 18 | ||||
-rw-r--r-- | lib/efl/eina.rb | 6 |
3 files changed, 15 insertions, 15 deletions
diff --git a/lib/efl/edje.rb b/lib/efl/edje.rb index 278c0af..8977b09 100644 --- a/lib/efl/edje.rb +++ b/lib/efl/edje.rb @@ -9,9 +9,9 @@ module EFL extend FFI::Library # ffi_lib 'edje' - functions = [ - [ :edje_init, [ ], :int ], - [ :edje_shutdown, [], :int ], + [ + [ :edje_init, [], :int], + [ :edje_shutdown, [], :int], ].each do |func| begin attach_function *func diff --git a/lib/efl/eet.rb b/lib/efl/eet.rb index cc0ef87..1cfba91 100644 --- a/lib/efl/eet.rb +++ b/lib/efl/eet.rb @@ -9,15 +9,15 @@ module EFL extend FFI::Library # ffi_lib 'eet' - functions = [ - [ :eet_init, [ ], :int ], - [ :eet_shutdown, [], :int ], - [ :eet_clearcache, [], :void ], - [ :eet_open, [:string, :int], :pointer ], - [ :eet_mode_get, [:pointer], :int ], - [ :eet_close, [:pointer], :int ], - [ :eet_write, [:pointer, :string, :pointer, :int, :int], :int ], - [ :eet_read, [:pointer, :string, :pointer], :pointer ], + [ + [ :eet_init, [], :int], + [ :eet_shutdown, [], :int], + [ :eet_clearcache, [], :void], + [ :eet_open, [:string, :int], :pointer], + [ :eet_mode_get, [:pointer], :int], + [ :eet_close, [:pointer], :int], + [ :eet_write, [:pointer, :string, :pointer, :int, :int], :int], + [ :eet_read, [:pointer, :string, :pointer], :pointer], ].each do |func| begin attach_function *func diff --git a/lib/efl/eina.rb b/lib/efl/eina.rb index d1b0f68..849a0a0 100644 --- a/lib/efl/eina.rb +++ b/lib/efl/eina.rb @@ -9,9 +9,9 @@ module EFL extend FFI::Library # ffi_lib 'eina' - functions = [ - [ :eina_init, [ ], :int ], - [ :eina_shutdown, [], :int ], + [ + [ :eina_init, [], :int], + [ :eina_shutdown, [], :int], ].each do |func| begin attach_function *func |