pike.git / src / bignum.c

version» Context lines:

pike.git/src/bignum.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: bignum.c,v 1.40 2003/11/15 17:25:05 mast Exp $ + || $Id: bignum.c,v 1.41 2004/12/30 13:23:20 grubba Exp $   */      #include "global.h"      #ifdef AUTO_BIGNUM      #include "interpret.h"   #include "program.h"   #include "object.h"   #include "svalue.h"
pike.git/src/bignum.c:75:    */       if (auto_bignum_program.type == T_INT)    return 0; /* not possible */       return o->prog == program_from_svalue(&auto_bignum_program);   }      PMOD_EXPORT int is_bignum_object_in_svalue(struct svalue *sv)   { +  /* FIXME: object subtype? */    return sv->type == T_OBJECT && is_bignum_object(sv->u.object);   }      PMOD_EXPORT struct object *make_bignum_object(void)   {    convert_stack_top_to_bignum();    dmalloc_touch_svalue(sp-1);    return (--sp)->u.object;   }