summaryrefslogtreecommitdiffstats
path: root/lib/efl/ffi/eina_main.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-28 15:11:39 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-28 15:11:39 +0200
commitb6f478475c6d29da86aba650793fe46b0548207f (patch)
tree8ff4a9b42bfc62fa2fca3f15273b6a9eb1931f25 /lib/efl/ffi/eina_main.rb
parentef95395fd1467b2f84ad664356d5b6d8dd13b71a (diff)
downloadffi-efl-b6f478475c6d29da86aba650793fe46b0548207f.zip
ffi-efl-b6f478475c6d29da86aba650793fe46b0548207f.tar.gz
regenerate lib/efl/ffi with new hierarchy
Diffstat (limited to 'lib/efl/ffi/eina_main.rb')
-rw-r--r--lib/efl/ffi/eina_main.rb45
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/efl/ffi/eina_main.rb b/lib/efl/ffi/eina_main.rb
deleted file mode 100644
index 6d09164..0000000
--- a/lib/efl/ffi/eina_main.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /usr/bin/env ruby
-# -*- coding: UTF-8 -*-
-#
-require 'efl/ffi'
-#
-module Efl
- #
- module Eina
- def self.method_missing m, *args, &block
- return Efl::FFI.send 'eina_'+m.to_s, *args, &block
- end
- end
- #
- module FFI
- #
- #
- ffi_lib 'eina'
- #
- # ENUMS
- #
- # TYPEDEFS
- # typedef struct _Eina_Version Eina_Version;
- typedef :pointer, :eina_version
- #
- # CALLBACKS
- #
- # FUNCTIONS
- fcts = [
- # EAPI extern Eina_Version *eina_version;
- # FIXME
- # EAPI int eina_init(void);
- [ :eina_init, [ ], :int ],
- # EAPI int eina_shutdown(void);
- [ :eina_shutdown, [ ], :int ],
- # EAPI int eina_threads_init(void);
- [ :eina_threads_init, [ ], :int ],
- # EAPI int eina_threads_shutdown(void);
- [ :eina_threads_shutdown, [ ], :int ],
- ]
- #
- attach_fcts fcts
- end
-end
-#
-# EOF