Branch: Tag:

2003-01-13

2003-01-13 14:42:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Moved the responsibility for loading of Gmp.bignum to the master.
The bignum hookin is now performed by the Gmp module initialization.

Rev: lib/master.pike.in:1.248
Rev: src/bignum.c:1.29
Rev: src/main.c:1.166
Rev: src/modules/Gmp/mpz_glue.c:1.116

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.247 2003/01/09 14:29:27 grubba Exp $ + // $Id: master.pike.in,v 1.248 2003/01/13 14:42:06 grubba Exp $      #pike __REAL_VERSION__   
1874:    return v;    };    + #ifdef __AUTO_BIGNUM__ +  // Load bignum support... +  { +  mixed v = resolv("Gmp.bignum"); +  if (!v) _error("Failed to load Gmp.bignum.\n"); +  } + #endif /* __AUTO_BIGNUM__ */ +     switch (postparseaction)    {    case "features":
2564:    if(s=get_clean_program_path(p, "object_program(", ")", ""))    return s;    -  if(mixed tmp=(function_object(p) || function_program(p))) +  if(mixed tmp=(function_object(p) || function_program(p))) {    if(s = function_name(p))    {    return describe_module(tmp) + s;    } -  +  }       if(s=_static_modules.Builtin()->program_defined(p))    return EXPLODE_PATH(s)[-1];