summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2007-11-27 04:05:56 +0000
committerJay Belanger <jay.p.belanger@gmail.com>2007-11-27 04:05:56 +0000
commit84309b3b0133f3bf87e81dfc7d736630f3734842 (patch)
tree33981705e3e4ed882e102057254ec694340aa5fc /lisp/calc
parent41f4eebc9971dac96110ef128159f9557de91687 (diff)
downloademacs-84309b3b0133f3bf87e81dfc7d736630f3734842.tar.gz
(math-zerop, math-negp, math-looks-negp)
(math-posp, math-compare, math-bignum, math-compare-bignum): Declare as functions.
Diffstat (limited to 'lisp/calc')
-rw-r--r--lisp/calc/calc-macs.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/calc/calc-macs.el b/lisp/calc/calc-macs.el
index 27001b43f36..8e939cdde7b 100644
--- a/lisp/calc/calc-macs.el
+++ b/lisp/calc/calc-macs.el
@@ -27,6 +27,16 @@
;;; Code:
+;; Declare functions which are defined elsewhere.
+(declare-function math-zerop "calc-misc" (a))
+(declare-function math-negp "calc-misc" (a))
+(declare-function math-looks-negp "calc-misc" (a))
+(declare-function math-posp "calc-misc" (a))
+(declare-function math-compare "calc-ext" (a b))
+(declare-function math-bignum "calc" (a))
+(declare-function math-compare-bignum "calc-ext" (a b))
+
+
(defmacro calc-wrapper (&rest body)
`(calc-do (function (lambda ()
,@body))))