[svn:parrot] r42977 - trunk/src/pmc
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Thu Dec 10 17:58:32 UTC 2009
Author: whiteknight
Date: Thu Dec 10 17:58:28 2009
New Revision: 42977
URL: https://trac.parrot.org/parrot/changeset/42977
Log:
fix some errors in BigNum.pmc that happen when GMP is not installed
Modified:
trunk/src/pmc/bignum.pmc
Modified: trunk/src/pmc/bignum.pmc
==============================================================================
--- trunk/src/pmc/bignum.pmc Thu Dec 10 10:22:56 2009 (r42976)
+++ trunk/src/pmc/bignum.pmc Thu Dec 10 17:58:28 2009 (r42977)
@@ -159,7 +159,7 @@
mpf_clear(bn->b);
mpf_init(bn->b);
#else
- SETATTR_BigNum_bn(interp, SELF, NULL);
+ SETATTR_BigNum_bn(interp, self, NULL);
#endif
}
@@ -170,8 +170,8 @@
BIGNUM *bn;
GETATTR_BigNum_bn(interp, self, bn);
mpf_clear(bn->b);
-#endif
mem_sys_free(bn);
+#endif
}
More information about the parrot-commits
mailing list