summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-02 16:42:48 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-02 16:42:48 +0200
commitf502b8aabf430d2f630bc7c8ceeeac578bc3acb5 (patch)
tree5d185a51c40aed1b9341a2936e7b55e0ac404d4e /lib
parentf7d729b57551913941d93aee88c8f34ecfd10dd0 (diff)
downloadffi-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.rb2
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