pike.git / src / bignum.h

version» Context lines:

pike.git/src/bignum.h:354:   PMOD_EXPORT void convert_stack_top_with_base_to_bignum(void);   int is_bignum_object(struct object *o);   PMOD_EXPORT int is_bignum_object_in_svalue(struct svalue *sv);   PMOD_EXPORT struct object *make_bignum_object(void);   PMOD_EXPORT struct object *bignum_from_svalue(struct svalue *s);   PMOD_EXPORT struct pike_string *string_from_bignum(struct object *o, int base);   PMOD_EXPORT void convert_svalue_to_bignum(struct svalue *s);      #ifdef INT64   PMOD_EXPORT extern void (*push_int64)(INT64 i); + PMOD_EXPORT extern void (*ulongest_to_svalue_no_free)(struct svalue *sv, UINT64 i);      /* Returns nonzero iff conversion is successful. */   PMOD_EXPORT extern int (*int64_from_bignum) (INT64 *i, struct object *bignum);      PMOD_EXPORT extern void (*reduce_stack_top_bignum) (void);   #else   #define push_int64(i) push_int((INT_TYPE)(i))   #define int64_from_bignum(I,BIGNUM) 0   #endif /* INT64 */      PMOD_EXPORT extern void (*push_ulongest) (unsigned LONGEST i);   PMOD_EXPORT extern int (*ulongest_from_bignum) (unsigned LONGEST *i,    struct object *bignum);      PMOD_EXPORT extern int (*mpz_from_svalue)(MP_INT *, struct svalue *);   PMOD_EXPORT extern void (*push_bignum)(MP_INT *);      PMOD_EXPORT void hook_in_gmp_funcs (   #ifdef INT64    void (*push_int64_val)(INT64), -  +  void (*ulongest_to_svalue_no_free_val)(struct svalue *, UINT64),    int (*int64_from_bignum_val) (INT64 *, struct object *),    void (*reduce_stack_top_bignum_val) (void),   #endif    void (*push_ulongest_val) (unsigned LONGEST),    int (*ulongest_from_bignum_val) (unsigned LONGEST *, struct object *),    int (*mpz_from_svalue_val)(MP_INT *, struct svalue *),    void (*push_bignum_val)(MP_INT *));   /* Prototypes end here */      /* Less confusing name, considering that push_int64 pushes a 32 bit    * int if INT64 isn't available. */   #define push_longest push_int64      #endif /* BIGNUM_H */