Top Level Namespace

Defined Under Namespace

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

Instance Method Summary collapse

Instance Method Details

#create_rjb_makefileObject



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

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



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

def java
  RjbConf::JAVA
end

#orgObject



122
123
124
# File 'lib/rjb/extension.rb', line 122

def org
  RjbConf::ORG
end