diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-02 16:42:48 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-02 16:42:48 +0200 |
commit | f502b8aabf430d2f630bc7c8ceeeac578bc3acb5 (patch) | |
tree | 5d185a51c40aed1b9341a2936e7b55e0ac404d4e /lib | |
parent | f7d729b57551913941d93aee88c8f34ecfd10dd0 (diff) | |
download | ffi-efl-f502b8aabf430d2f630bc7c8ceeeac578bc3acb5.zip ffi-efl-f502b8aabf430d2f630bc7c8ceeeac578bc3acb5.tar.gz |
REetFile : remove unnecessary usage of MemoryPointer for :string param
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efl/eet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efl/eet.rb b/lib/efl/eet.rb index 7a1ca5b..f483fbf 100644 --- a/lib/efl/eet.rb +++ b/lib/efl/eet.rb @@ -36,7 +36,7 @@ module Efl end # def write key, data, compress=false - Efl::Eet.eet_write @ptr, key, FFI::MemoryPointer.from_string(data), data.bytesize, ( compress ? 1 : 0 ) + Efl::Eet.eet_write @ptr, key, data, data.bytesize, ( compress ? 1 : 0 ) end # def read key |