Package erjang

Examples of erjang.EModule


  public static ETuple2 load_module(EAtom mod, EBinary bin) {
    if (mod == null || bin == null)
      throw ERT.badarg(mod, bin);

    try {
      EModule module = EModuleLoader.load_module(mod.getName(), bin);
      if (module.has_on_load()) {
        return new ETuple2(ERT.am_error, am_on_load);
      } else {
        return new ETuple2(ERT.am_module, mod);
      }
    } catch (ErlangException e) {
View Full Code Here

TOP

Related Classes of erjang.EModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.