summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-09 23:49:24 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-09 23:49:24 +0200
commit0aeeee85df8a6f8c96c20cc76ee6c62f538b3275 (patch)
tree00312d56415b9fd7d07439e8874b56e8c13be66f
parent109636837b7f03403558a95e0f93a3239b855a99 (diff)
downloadffi-efl-0aeeee85df8a6f8c96c20cc76ee6c62f538b3275.zip
ffi-efl-0aeeee85df8a6f8c96c20cc76ee6c62f538b3275.tar.gz
disable ecore_evas_cocoa_new on non darwin OS, disable corpusless elm_map_route_source_set
-rw-r--r--lib/efl/native/ecore_evas.rb6
-rw-r--r--lib/efl/native/elementary.rb2
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/efl/native/ecore_evas.rb b/lib/efl/native/ecore_evas.rb
index 421cd67..2139864 100644
--- a/lib/efl/native/ecore_evas.rb
+++ b/lib/efl/native/ecore_evas.rb
@@ -178,8 +178,6 @@ module Efl
[ :ecore_evas_software_wince_gdi_new, [ :ecore_wince_window_p, :int, :int, :int, :int ], :ecore_evas_p ],
# EAPI Ecore_WinCE_Window *ecore_evas_software_wince_window_get(const Ecore_Evas *ee);
[ :ecore_evas_software_wince_window_get, [ :ecore_evas_p ], :ecore_wince_window_p ],
- # EAPI Ecore_Evas *ecore_evas_cocoa_new(const char* name, int w, int h);
- [ :ecore_evas_cocoa_new, [ :string, :int, :int ], :ecore_evas_p ],
# EAPI const char *ecore_evas_engine_name_get(const Ecore_Evas *ee);
[ :ecore_evas_engine_name_get, [ :ecore_evas_p ], :string ],
# EAPI Ecore_Evas *ecore_evas_ecore_evas_get(const Evas *e);
@@ -377,6 +375,10 @@ module Efl
# EAPI void ecore_evas_x11_shape_input_apply(Ecore_Evas *ee);
[ :ecore_evas_x11_shape_input_apply, [ :ecore_evas_p ], :void ],
]
+ if RUBY_PLATFORM =~ /darwin/
+ # EAPI Ecore_Evas *ecore_evas_cocoa_new(const char* name, int w, int h);
+ fcts << [ :ecore_evas_cocoa_new, [ :string, :int, :int ], :ecore_evas_p ]
+ end
#
attach_fcts fcts
#
diff --git a/lib/efl/native/elementary.rb b/lib/efl/native/elementary.rb
index d24d34b..5a248a9 100644
--- a/lib/efl/native/elementary.rb
+++ b/lib/efl/native/elementary.rb
@@ -2590,7 +2590,7 @@ module Efl
# EAPI const char *elm_map_source_name_get(const Evas_Object *obj);
[ :elm_map_source_name_get, [ :evas_object_p ], :string ],
# EAPI void elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source);
- [ :elm_map_route_source_set, [ :evas_object_p, :elm_map_route_sources ], :void ],
+ # FIXME [ :elm_map_route_source_set, [ :evas_object_p, :elm_map_route_sources ], :void ],
# EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj);
[ :elm_map_route_source_get, [ :evas_object_p ], :elm_map_route_sources ],
# EAPI int elm_map_source_zoom_min_get(const Evas_Object *obj);