summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/ecore_evas.rb
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 /lib/efl/native/ecore_evas.rb
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
Diffstat (limited to 'lib/efl/native/ecore_evas.rb')
-rw-r--r--lib/efl/native/ecore_evas.rb6
1 files changed, 4 insertions, 2 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
#