diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 16:06:02 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 16:06:02 +0100 |
commit | 142e64c3cefcd11667adefdc61989536f6a34bd4 (patch) | |
tree | 79e5e9e7ae8413314001a6c64ea65698eb3d6090 /lib/efl/native/elm/elm_mapbuf.rb | |
parent | 03e3c185d5d3f01ee46eb567218af79480128e89 (diff) | |
download | ffi-efl-142e64c3cefcd11667adefdc61989536f6a34bd4.zip ffi-efl-142e64c3cefcd11667adefdc61989536f6a34bd4.tar.gz |
parse elm_mapbuf.h, generate elm_mapbuf.rb
Diffstat (limited to 'lib/efl/native/elm/elm_mapbuf.rb')
-rw-r--r-- | lib/efl/native/elm/elm_mapbuf.rb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/lib/efl/native/elm/elm_mapbuf.rb b/lib/efl/native/elm/elm_mapbuf.rb new file mode 100644 index 0000000..2a78f17 --- /dev/null +++ b/lib/efl/native/elm/elm_mapbuf.rb @@ -0,0 +1,47 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/native' +require 'efl/native/elementary' +# +module Efl + # + module ElmMapBuf + # + FCT_PREFIX = 'elm_mapbuf_' unless const_defined? :FCT_PREFIX + # + def self.method_missing meth, *args, &block + sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX + self.send sym, *args, &block + end + # + end + # + module Native + # + ffi_lib 'elementary-ver-pre-svn-09.so.0' + # + # FUNCTIONS + fcts = [ + # EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent); + [ :elm_mapbuf_add, [ :evas_object ], :evas_object ], + # EAPI void elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled); + [ :elm_mapbuf_enabled_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_mapbuf_enabled_get(const Evas_Object *obj); + [ :elm_mapbuf_enabled_get, [ :evas_object ], :bool ], + # EAPI void elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth); + [ :elm_mapbuf_smooth_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_mapbuf_smooth_get(const Evas_Object *obj); + [ :elm_mapbuf_smooth_get, [ :evas_object ], :bool ], + # EAPI void elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha); + [ :elm_mapbuf_alpha_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_mapbuf_alpha_get(const Evas_Object *obj); + [ :elm_mapbuf_alpha_get, [ :evas_object ], :bool ], + ] + # + attach_fcts fcts + # + end +end +# +# EOF |