summaryrefslogtreecommitdiffstats
path: root/lib/e17/ffi.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-20 15:24:11 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-20 15:24:11 +0200
commit9a7cd18cd11e0f435443c62fa68871768b98d248 (patch)
tree1e34d56e4f5ad7cd1908ab6155cbcd7fc60bdee5 /lib/e17/ffi.rb
parent5a5e81dbf79ca4967b150ea4930255a2398ccab4 (diff)
downloadffi-efl-9a7cd18cd11e0f435443c62fa68871768b98d248.zip
ffi-efl-9a7cd18cd11e0f435443c62fa68871768b98d248.tar.gz
ffi-e17 renamed to ffi-efl
Diffstat (limited to 'lib/e17/ffi.rb')
-rw-r--r--lib/e17/ffi.rb44
1 files changed, 0 insertions, 44 deletions
diff --git a/lib/e17/ffi.rb b/lib/e17/ffi.rb
deleted file mode 100644
index e19a90a..0000000
--- a/lib/e17/ffi.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-#! /usr/bin/env ruby
-# -*- coding: UTF-8 -*-
-#
-require 'ffi'
-#
-module E17
- #
- module API
- #
- extend FFI::Library
- #
- def attach_fcts fcts
- fcts.each do |func|
- begin
- attach_function *func
- rescue Object => e
- puts "Could not attach #{func} #{e.message}"
- end
- end
- end
- module_function :attach_fcts
- #
- typedef :pointer, :int_p
- typedef :pointer, :uint_p
- typedef :pointer, :void_p
- typedef :pointer, :uchar_p
- typedef :pointer, :float_p
- typedef :pointer, :double_p
- typedef :pointer, :string_array
- typedef :pointer, :string_array_p
- #
- typedef :pointer, :eina_list_p
- typedef :pointer, :eina_iterator_p
- typedef :pointer, :eina_accessor_p
- typedef :pointer, :evas_p
- typedef :pointer, :evas_object_p
- #
- end
- #
-end
-#
-require 'e17/eina/eina_types-ffi'
-#
-# EOF