Skip to content
Snippets Groups Projects
Commit 749122fe authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Digitals cc didn't like the old ERROR-macro.

Rev: src/modules/Gmp/mpz_glue.c:1.17
parent 1763ba36
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
||| See the files COPYING and DISCLAIMER for more information. ||| See the files COPYING and DISCLAIMER for more information.
\*/ \*/
#include "global.h" #include "global.h"
RCSID("$Id: mpz_glue.c,v 1.16 1997/04/28 23:49:11 hubbe Exp $"); RCSID("$Id: mpz_glue.c,v 1.17 1997/05/15 17:36:01 grubba Exp $");
#include "gmp_machine.h" #include "gmp_machine.h"
#include "types.h" #include "types.h"
...@@ -296,7 +296,7 @@ static void mpzmod_cast(INT32 args) ...@@ -296,7 +296,7 @@ static void mpzmod_cast(INT32 args)
/* Converts an svalue, located on the stack, to an mpz object */ /* Converts an svalue, located on the stack, to an mpz object */
static MP_INT *get_mpz(struct svalue *s, int throw_error) static MP_INT *get_mpz(struct svalue *s, int throw_error)
{ {
#define ERROR(x) (throw_error ? error(x) : 0) #define ERROR(x) if (throw_error) error(x)
struct object *o; struct object *o;
switch(s->type) switch(s->type)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment