diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-20 15:24:11 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-20 15:24:11 +0200 |
commit | 9a7cd18cd11e0f435443c62fa68871768b98d248 (patch) | |
tree | 1e34d56e4f5ad7cd1908ab6155cbcd7fc60bdee5 /tools/genruby.rb | |
parent | 5a5e81dbf79ca4967b150ea4930255a2398ccab4 (diff) | |
download | ffi-efl-9a7cd18cd11e0f435443c62fa68871768b98d248.zip ffi-efl-9a7cd18cd11e0f435443c62fa68871768b98d248.tar.gz |
ffi-e17 renamed to ffi-efl
Diffstat (limited to 'tools/genruby.rb')
-rwxr-xr-x | tools/genruby.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/genruby.rb b/tools/genruby.rb index 002eb24..90b1a10 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # path = File.dirname __FILE__ -lib_path = File.join path, '..', 'lib', 'e17' +lib_path = File.join path, '..', 'lib', 'efl' # libraries = [ [ 'eina_types.h', 'eina'], @@ -26,13 +26,13 @@ HEADER =<<-EOF #! /usr/bin/env ruby # -*- coding: UTF-8 -*- # -require 'e17/ffi' +require 'efl/ffi' # -module E17 +module Efl # module MNAME def self.method_missing m, *args, &block - return E17::API.send 'MBASE_'+m.to_s, *args, &block + return Efl::API.send 'MBASE_'+m.to_s, *args, &block end end # @@ -79,7 +79,7 @@ TYPES = { 'struct tm *' => ':pointer', 'struct timeval *' => ':pointer', 'struct sockaddr *' => ':pointer', - # E17 BASE TYPES + # Efl BASE TYPES 'Eina_Bool' => ':eina_bool', 'Eina_Bool *' => ':eina_bool_p', 'Eina_List' => ':eina_list', |