diff options
Diffstat (limited to 'lib/efl/native/elm')
-rw-r--r-- | lib/efl/native/elm/elm_debug.rb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/efl/native/elm/elm_debug.rb b/lib/efl/native/elm/elm_debug.rb new file mode 100644 index 0000000..5aa52dc --- /dev/null +++ b/lib/efl/native/elm/elm_debug.rb @@ -0,0 +1,37 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/native' +require 'efl/native/elementary' +# +module Efl + # + module ElmDebug + # + FCT_PREFIX = 'elm_debug_' 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 void elm_object_tree_dump(const Evas_Object *top); + [ :elm_object_tree_dump, [ :evas_object ], :void ], + # EAPI void elm_object_tree_dot_dump(const Evas_Object *top, const char *file); + [ :elm_object_tree_dot_dump, [ :evas_object, :string ], :void ], + ] + # + attach_fcts fcts + # + end +end +# +# EOF |