Top Level Namespace

Defined Under Namespace

Modules: Kernel, Rjb, RjbConf Classes: JavaPackage, Path

Constant Summary collapse

JAVAH_COMMAND =
'javac -h . -classpath ../data/rjb RBridge.java'.freeze

Instance Method Summary collapse

Instance Method Details

#create_rjb_makefileObject



58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'ext/extconf.rb', line 58

def create_rjb_makefile
  if have_header("jni.h")
    have_func("locale_charset", "iconv.h")
    have_func("nl_langinfo", "langinfo.h")
    have_func("setlocale", "locale.h")
    have_func("getenv")
    $defs << "-DRJB_RUBY_VERSION_CODE="+RUBY_VERSION.gsub(/\./, '')
    create_header
    create_makefile("rjbcore")
  else
    raise "no jni.h in " + $INCFLAGS
  end
end

#javaObject



130
131
132
# File 'lib/rjb/extension.rb', line 130

def java
  RjbConf::JAVA
end

#orgObject



126
127
128
# File 'lib/rjb/extension.rb', line 126

def org
  RjbConf::ORG
end