summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-22 17:53:34 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-22 17:53:34 +0100
commit7282cc40ff17f2f84314ce1b9c55ab45093dd100 (patch)
treedcc2b04b3d0f3bc92c7c2af2ebbac047f8ce68aa /tools
parente19b473d4ef2b3317b061dceebef10e02e3f67d0 (diff)
downloadffi-efl-7282cc40ff17f2f84314ce1b9c55ab45093dd100.zip
ffi-efl-7282cc40ff17f2f84314ce1b9c55ab45093dd100.tar.gz
tools/genruby FCT_PREFIX= xx unless contant_defined? ...
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 9fd4e14..dc44779 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -41,7 +41,7 @@ module Efl
#
module MNAME
#
- FCT_PREFIX = 'MY_FCT_PREFIX_'
+ FCT_PREFIX = 'MY_FCT_PREFIX_' unless const_defined? :FCT_PREFIX
#
def self.method_missing meth, *args, &block
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX